Send
The Send
type describes a function that knows how to dispatch a message as part of the synchronization protocol.
(
toClientId: IdOrNull,
requestId: IdOrNull,
message: Message,
body: any,
): void
Type | Description | |
---|---|---|
toClientId | IdOrNull | The optional |
requestId | IdOrNull | The optional |
message | Message | A number that indicates the type of the message, according to the |
body | any | A message-specific payload. |
returns | void | This has no return value. |
Since
v5.0.0