[−][src]Constant actix_web::http::header::SEC_WEBSOCKET_PROTOCOL
pub const SEC_WEBSOCKET_PROTOCOL: HeaderName
The |Sec-WebSocket-Protocol| header field is used in the WebSocket opening handshake. It is sent from the client to the server and back from the server to the client to confirm the subprotocol of the connection. This enables scripts to both select a subprotocol and be sure that the server agreed to serve that subprotocol.