Constant http::header::SEC_WEBSOCKET_VERSION [−][src]
pub const SEC_WEBSOCKET_VERSION: HeaderName=
HeaderName{inner: Repr::Standard(StandardHeader::SecWebSocketVersion),}
The |Sec-WebSocket-Version| header field is used in the WebSocket opening handshake. It is sent from the client to the server to indicate the protocol version of the connection. This enables servers to correctly interpret the opening handshake and subsequent data being sent from the data, and close the connection if the server cannot interpret that data in a safe manner.