Crate tarpc_json_transport

Source
Expand description

A TCP Transport that serializes as JSON.

Structs§

Incoming
A TcpListener that wraps connections in JSON transports.
Transport
A transport that serializes to, and deserializes from, a TcpStream.

Functions§

connect
Connects to addr, wrapping the connection in a JSON transport.
listen
Listens on addr, wrapping accepted connections in JSON transports.
new
Returns a new JSON transport that reads from and writes to io.