libp2p::websocket

Module framed

Source
Available on crate feature websocket and non-WebAssembly only.

Structs§

  • The websocket connection.
  • 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.

Enums§

  • Application data received over the websocket connection
  • Data or control information received over the websocket connection.
  • Data sent over the websocket connection.