Expand description
WebSocket protocol support.
To setup a WebSocket
, first do web socket handshake then on success
convert Payload
into a WsStream
stream and then use WsWriter
to
communicate with the peer.
Re-exports
pub use self::codec::Frame;
pub use self::codec::Message;
pub use self::proto::CloseCode;
pub use self::proto::CloseReason;
pub use self::sink::WsSink;
Modules
- WebSocket protocol related errors.
Structs
- WebSockets protocol codec
- WebSocket frame parser.
WebSocket
client builderWebSocket
client builder- An implementation of WebSockets streams
- WebSockets transport factory
Enums
- WebSocket continuation item
- Operation codes as part of rfc6455.
Functions
- Verify
WebSocket
handshake request and create handshake reponse. - Create websocket’s handshake response
- Verify
WebSocket
handshake request.