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

The destination value of Sec-WebSocket-Accept

List of Sec-WebSocket-Protocol tokens

List of Sec-WebSocket-Extensions tokens

Trait Implementations

impl Debug for WebsocketHandshake
[src]

[src]

Formats the value using the given formatter. Read more

Auto Trait Implementations