rpc_dart_transports 1.0.1 copy "rpc_dart_transports: ^1.0.1" to clipboard
rpc_dart_transports: ^1.0.1 copied to clipboard

RPC Dart Transports library

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.