Expand description
A library for easily creating Wisp clients and servers.
Modules§
- extensions
- Wisp protocol extensions.
- ws
- Abstraction over WebSocket implementations.
Structs§
- Client
Mux - Client side multiplexor.
- Client
MuxResult - Result of
ClientMux::new
. - Close
Packet - Packet used to close a stream.
- Connect
Packet - Packet used to create a new stream.
- Continue
Packet - Packet used for Wisp TCP stream flow control.
- Info
Packet - Packet used in the initial handshake.
- MuxProtocol
Extension Stream - Stream for sending arbitrary protocol extension packets.
- MuxStream
- Multiplexor stream.
- MuxStream
AsyncRW - Multiplexor stream that implements futures
AsyncRead + AsyncBufRead + AsyncWrite
. - MuxStream
Async Read - Read side of a multiplexor stream that implements futures
AsyncRead + AsyncBufRead
. - MuxStream
Async Write - Write side of a multiplexor stream that implements futures
AsyncWrite
. - MuxStream
Closer - Close handle for a multiplexor stream.
- MuxStream
Io - Multiplexor stream that implements futures
Stream + Sink
. - MuxStream
IoSink - Write side of a multiplexor stream that implements futures
Sink
. - MuxStream
IoStream - Read side of a multiplexor stream that implements futures
Stream
. - MuxStream
Read - Read side of a multiplexor stream.
- MuxStream
Write - Write side of a multiplexor stream.
- Packet
- Wisp protocol packet.
- Server
Mux - Server-side multiplexor.
- Server
MuxResult - Result of
ServerMux::new
. - Wisp
Version - Wisp version sent in the handshake.
Enums§
- Close
Reason - Close reason.
- Packet
Type - Type of packet recieved.
- Role
- The role of the multiplexor.
- Stream
Type - Wisp stream type.
- Wisp
Error - Errors the Wisp implementation can return.
Constants§
- WISP_
VERSION - Wisp version supported by this crate.