sendMessage method

void sendMessage(
  1. Message message, {
  2. SocketInfo? destination,
})
inherited

Sends a Message over the socket (in a WrappedMessage).

Implementation

void sendMessage(Message message, {SocketInfo? destination}) =>
  sendWrapper(message.wrap(), destination: destination);