Crate wisp_mux

Source
Expand description

A library for easily creating Wisp clients and servers.

Modules§

extensions
Wisp protocol extensions.
ws
Abstraction over WebSocket implementations.

Structs§

ClientMux
Client side multiplexor.
ClientMuxResult
Result of ClientMux::new.
ClosePacket
Packet used to close a stream.
ConnectPacket
Packet used to create a new stream.
ContinuePacket
Packet used for Wisp TCP stream flow control.
InfoPacket
Packet used in the initial handshake.
MuxProtocolExtensionStream
Stream for sending arbitrary protocol extension packets.
MuxStream
Multiplexor stream.
MuxStreamAsyncRW
Multiplexor stream that implements futures AsyncRead + AsyncBufRead + AsyncWrite.
MuxStreamAsyncRead
Read side of a multiplexor stream that implements futures AsyncRead + AsyncBufRead.
MuxStreamAsyncWrite
Write side of a multiplexor stream that implements futures AsyncWrite.
MuxStreamCloser
Close handle for a multiplexor stream.
MuxStreamIo
Multiplexor stream that implements futures Stream + Sink.
MuxStreamIoSink
Write side of a multiplexor stream that implements futures Sink.
MuxStreamIoStream
Read side of a multiplexor stream that implements futures Stream.
MuxStreamRead
Read side of a multiplexor stream.
MuxStreamWrite
Write side of a multiplexor stream.
Packet
Wisp protocol packet.
ServerMux
Server-side multiplexor.
ServerMuxResult
Result of ServerMux::new.
WispVersion
Wisp version sent in the handshake.

Enums§

CloseReason
Close reason.
PacketType
Type of packet recieved.
Role
The role of the multiplexor.
StreamType
Wisp stream type.
WispError
Errors the Wisp implementation can return.

Constants§

WISP_VERSION
Wisp version supported by this crate.