rapace-transport-stream 0.2.0

TCP/Unix socket transport for rapace
Documentation

rapace-transport-stream

crates.io documentation MIT/Apache-2.0 licensed

TCP and Unix socket transport for rapace RPC.

Network transport for local and remote communication via TCP or Unix domain sockets.

Features

  • TCP: tcp://localhost:9000 - remote communication, cross-machine
  • Unix sockets: unix:///tmp/rapace.sock - efficient local IPC on Unix-like systems
  • Secure: Use TLS for encrypted communication

Usage

use rapace::RpcSession;
use rapace_transport_stream::TcpTransport;

let transport = TcpTransport::connect("127.0.0.1:9000").await?;
let session = RpcSession::new(transport);

License

Licensed under either of:

at your option.