Skip to main content

rpc_dart_socket 0.2.0 copy "rpc_dart_socket: ^0.2.0" to clipboard
rpc_dart_socket: ^0.2.0 copied to clipboard

Unix domain socket and TCP transport for rpc_dart on the Dart VM. A caller connect and a server that owns its listening socket.

0.2.0 #

  • Requires rpc_dart 7.0.0; see its changelog for the breaking changes this pulls in (every public type Rpc-prefixed, one client connection, the peer endpoint, channel close reasons, compressionEnabled on every server).
  • connectRpcSocket abandons a connect on a cancellation token.
  • An oversized request keeps its status instead of failing the connection.

0.1.0 #

First release: rpc_dart over Unix domain sockets and TCP on the Dart VM.

  • connectRpcSocket opens an RpcSocketCallerTransport. Its ready completes when the server's preface arrives, so RpcClientConnection never reports Online against a process that is not an rpc_dart server.
  • RpcSocketServer owns its listening socket, restarts by rebinding, drains on stop(drainTimeout:), caps connections, and replaces a stale Unix socket file left by a crashed process (and nothing else).
  • Opens with core's frame preface: the client sends rpcdart and the protocol version, the server answers with the same. A server builds no endpoint until the client's has arrived, within prefaceTimeout.
  • Runs the transport conformance matrix over TCP.
0
likes
160
points
731
downloads

Documentation

API reference

Publisher

verified publisherrpc.nogipx.dev

Weekly Downloads

Unix domain socket and TCP transport for rpc_dart on the Dart VM. A caller connect and a server that owns its listening socket.

Homepage
Repository (GitHub)
View/report issues

Topics

#rpc #socket #ipc

License

MIT (license)

Dependencies

rpc_dart

More

Packages that depend on rpc_dart_socket