RPC Dart - Transports

Transport implementations for RPC Dart. Provides ready transports.

Core concepts

  • Transport — concrete implementation of the IRpcTransport interface.
  • Client/Server transports — client-side connectors and server-side handlers.
  • Multiplexing — many RPCs over one connection where supported.
  • Zero-copy — supported where transport permits in-process object transfer.

Supported transports

  • WebSocketTransport — bidirectional real-time transport with reconnection and optional multiplexing.
  • IsolateTransport — efficient communication between Dart isolates, supports zero-copy for in-process objects.
  • Http2Transport — HTTP/2 based transport with gRPC-compatible framing, TLS support and stream multiplexing.

Libraries

rpc_dart_transports
Транспорты для RPC Dart