The connection to send to.
The event to send to.
Optional
expectResponse?: BWhether or not a response is expected.
The actual message to sent.
Optional
persist?: booleanWhether or not the message should be persisted in the database.
Optional
responseHandler?: WebsocketResponseHandlerAn optional handler for the response, if the implementation supports that. If not set and a response is expected, it gets emitted the default way.
Input for sending websocket data.