Struct tk_http::server::WebsocketHandshake
[−]
[src]
pub struct WebsocketHandshake {
pub accept: Accept,
pub protocols: Vec<String>,
pub extensions: Vec<String>,
}Contains all the imporant parts of a websocket handshake
Fields
accept: Accept
The destination value of Sec-WebSocket-Accept
protocols: Vec<String>
List of Sec-WebSocket-Protocol tokens
extensions: Vec<String>
List of Sec-WebSocket-Extensions tokens