Struct embedded_websocket::WebSocketContext [−][src]
pub struct WebSocketContext { pub sec_websocket_protocol_list: Vec<WebSocketSubProtocol, U3>, pub sec_websocket_key: WebSocketKey, }
Websocket details extracted from the http header
Fields
sec_websocket_protocol_list: Vec<WebSocketSubProtocol, U3>
The list of sub protocols is restricted to a maximum of 3
sec_websocket_key: WebSocketKey
The websocket key user to build the accept string to complete the opening handshake
Auto Trait Implementations
impl RefUnwindSafe for WebSocketContext
impl RefUnwindSafe for WebSocketContext
impl Send for WebSocketContext
impl Send for WebSocketContext
impl Sync for WebSocketContext
impl Sync for WebSocketContext
impl Unpin for WebSocketContext
impl Unpin for WebSocketContext
impl UnwindSafe for WebSocketContext
impl UnwindSafe for WebSocketContext