Interface: WsTopicRequest<TWSTopic extends string = string, TWSPayload = any>
Normalised internal format for a request (subscribe/unsubscribe/etc) on a topic, with optional parameters.
- Topic: the topic this event is for
- Payload: the parameters to include, optional. E.g. auth requires key + sign. Some topics allow configurable parameters.
Type Parameters
| Type Parameter | Default type |
|---|---|
TWSTopic extends string | string |
TWSPayload | any |