Interface: WsTopicRequest<TWSTopic extends string = string, TWSPayload = unknown>
A subscription request containing a topic name and an optional payload with channel-specific parameters.
Type Parameters
| Type Parameter | Default type |
|---|---|
TWSTopic extends string | string |
TWSPayload | unknown |
Properties
| Property | Type |
|---|---|
payload? | TWSPayload |
topic | TWSTopic |