[][src]Module libp2p::websocket::framed

Structs

BytesConnection

A Stream and Sink that produces and consumes [BytesMut] values which correspond to the payload data of websocket frames.

WsConfig

A Websocket transport whose output type is a Stream and Sink of frame payloads which does not implement [AsyncRead] or [AsyncWrite]. See [crate::WsConfig] if you require the latter.