Properties of a WebsocketTask.

interface IWebsocketTask {
    filter?: string;
    maxDataAgeSeconds?: number;
    subscription?: string;
    url?: string;
}

Implemented by

Properties

filter?: string

Incoming message JSONPath filter. Example: "$[?(@.channel == 'ticker' && @.market == 'BTC/USD')]"

maxDataAgeSeconds?: number

Minimum amount of time required between when the horses are taking out.

subscription?: string

The websocket message to notify of a new subscription.

url?: string

The websocket url.