Skip to main content

Crate wrpc_websockets

Crate wrpc_websockets 

Source
Expand description

wRPC WebSocket transport using tokio_websockets

Re-exports§

pub use tokio_websockets::ClientBuilder;
pub use tokio_websockets::ServerBuilder;
pub use tokio_websockets;

Structs§

Client
Invoke implementation in terms of a ClientBuilder.
Incoming
Incoming half of a split WebSocketStream.
Outgoing
Outgoing half of a split WebSocketStream.

Functions§

split
Splits a WebSocketStream into wRPC byte-stream halves: an AsyncWrite outgoing half and an AsyncRead incoming half, suitable for use with wrpc_transport::frame.