The connection to send to.
The event to send to.
OptionalexpectResponse?: BWhether or not a response is expected.
The actual message to sent.
Optionalpersist?: booleanWhether or not the message should be persisted in the database.
OptionalresponseHandler?: 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.