Constructs a new WebsocketTask.
Optional
properties: 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.
Static
createCreates a new WebsocketTask instance using the specified properties.
Optional
properties: IWebsocketTaskProperties to set
WebsocketTask instance
Static
decodeDecodes a WebsocketTask message from the specified reader or buffer.
Reader or buffer to decode from
Optional
length: numberMessage length if known beforehand
WebsocketTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
decodeDecodes a WebsocketTask message from the specified reader or buffer, length delimited.
Reader or buffer to decode from
WebsocketTask
If the payload is not a reader or valid buffer
If required fields are missing
Static
encodeEncodes the specified WebsocketTask message. Does not implicitly verify messages.
WebsocketTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
encodeEncodes the specified WebsocketTask message, length delimited. Does not implicitly verify messages.
WebsocketTask message or plain object to encode
Optional
writer: WriterWriter to encode to
Writer
Static
fromCreates a WebsocketTask message from a plain object. Also converts values to their respective internal types.
Plain object
WebsocketTask
Static
getStatic
toCreates a plain object from a WebsocketTask message. Also converts values to other types if specified.
WebsocketTask
Optional
options: IConversionOptionsConversion options
Plain object
Static
verify
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