Constructs a new WebsocketTask.
Optionalproperties: IWebsocketTaskProperties to set
Incoming message JSONPath filter. Example: "$[?(@.channel == 'ticker' && @.market == 'BTC/USD')]"
Minimum amount of time required between when the horses are taking out.
The websocket message to notify of a new subscription.
The websocket url.
Converts this WebsocketTask to JSON.
JSON object
StaticcreateCreates a new WebsocketTask instance using the specified properties.
Optionalproperties: IWebsocketTaskProperties to set
WebsocketTask instance
StaticdecodeDecodes a WebsocketTask message from the specified reader or buffer.
Reader or buffer to decode from
Optionallength: numberMessage length if known beforehand
WebsocketTask
StaticdecodeDecodes a WebsocketTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
WebsocketTask
StaticencodeEncodes the specified WebsocketTask message. Does not implicitly {@apilink oracle_job.OracleJob.WebsocketTask.verify|verify} messages.
WebsocketTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticencodeEncodes the specified WebsocketTask message, length delimited. Does not implicitly {@apilink oracle_job.OracleJob.WebsocketTask.verify|verify} messages.
WebsocketTask message or plain object to encode
Optionalwriter: WriterWriter to encode to
Writer
StaticfromCreates a WebsocketTask message from a plain object. Also converts values to their respective internal types.
Plain object
WebsocketTask
StaticgetGets the default type url for WebsocketTask
OptionaltypeUrlPrefix: stringyour custom typeUrlPrefix(default "type.googleapis.com")
The default type url
StatictoCreates a plain object from a WebsocketTask message. Also converts values to other types if specified.
WebsocketTask
Optionaloptions: IConversionOptionsConversion options
Plain object
StaticverifyVerifies a WebsocketTask message.
Plain object to verify
null if valid, otherwise the reason why it is not
Opens and maintains a websocket for light speed data retrieval.
Input: None
Returns: String representation of the websocket subscription message.
Example: Opens a coinbase websocket