pub struct WebSocketContext {
pub sec_websocket_protocol_list: Vec<WebSocketSubProtocol, 3>,
pub sec_websocket_key: WebSocketKey,
}Expand description
Websocket details extracted from the http header
Fields§
§sec_websocket_protocol_list: Vec<WebSocketSubProtocol, 3>The list of sub protocols is restricted to a maximum of 3
sec_websocket_key: WebSocketKeyThe websocket key user to build the accept string to complete the opening handshake