Module jsonrpc_utils::stream
source · Available on crate feature
server only.Expand description
JSONRPC server on any streams, e.g. TCP, unix socket.
Use tokio_util::codec to convert AsyncRead, AsyncWrite to Stream
and Sink. Use LinesCodec or define you own codec.
Structs
Enums
Functions
- Serve JSON-RPC requests over a bidirectional stream (Stream + Sink).