send abstract method

Future<void> send(
  1. AlphaXWebSocketMessage message
)

Sends one complete message in call order.

Completion means that the provider accepted the message API call. It does not claim that the peer has acknowledged or flushed it to the network. Sending after the session starts closing fails with AlphaXWebSocketClosedException. No retry or replay is performed.

Implementation

Future<void> send(AlphaXWebSocketMessage message);