Module libp2p::websocket[][src]

Implementation of the libp2p Transport trait for Websockets.

Modules

error
framed
tls

Structs

BytesConnection

The websocket connection.

WsConfig

A Websocket transport.

Type Definitions

InnerFuture

Type alias corresponding to framed::WsConfig::Dial and framed::WsConfig::ListenerUpgrade.

InnerStream

Type alias corresponding to framed::WsConfig::Listener.

WrapperFn

Function type that wraps a websocket connection (see. wrap_connection).