sendMessage method

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

Wraps a message and sends it with sendWrapper.

Implementation

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