Skip to main content

Module sec_websocket_protocol

Module sec_websocket_protocol 

Available on crate features http and std only.

Structs§

AcceptedWebSocketProtocol
Utility type containing the accepted SecWebSocketProtocol.
InvalidWebSocketProtocol
Error returned for a WebSocket subprotocol that is not an HTTP token.
SecWebSocketProtocol
The Sec-WebSocket-Protocol header, containing one or multiple protocols.