The connection to send to.
The event to send to.
OptionalexpectWhether or not a response is expected.
The actual message to sent.
OptionalpersistWhether or not the message should be persisted in the data source.
OptionalresponseAn 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.