Module handshake

Module handshake 

Source
Expand description

Websocket handshakes.

Re-exports§

pub use client::Client;
pub use client::ServerResponse;
pub use server::ClientRequest;
pub use server::Server;

Modules§

client
Websocket client handshake.
http
This module somewhat mirrors crate::handshake::server, except it’s focus is on working with http::Request and http::Response types, making it easier to integrate with external web servers such as Hyper.
server
Websocket server handshake.

Enums§

Error
Enumeration of possible handshake errors.

Type Aliases§

WebSocketKey
Owned value of the Sec-WebSocket-Key header.