send abstract method

Future<void> send(
  1. RealtimeClientMessage message, {
  2. CancellationToken? cancellationToken,
})

Sends a client message to the session.

This may be called concurrently from multiple sources. Provider implementations must serialize access to the underlying transport when it does not support concurrent sends.

Implementation

Future<void> send(
  RealtimeClientMessage message, {
  CancellationToken? cancellationToken,
});