WebSocketHeaderTrait
WebSocket handshake HTTP header names (RFC 6455).
Mixed into HttpHeader.
Tags
Table of Contents
Constants
- SEC_WEBSOCKET_ACCEPT : string = 'Sec-WebSocket-Accept'
- `Sec-WebSocket-Accept` — Server's hashed acknowledgement of the handshake key (RFC 6455 §11.3.3).
- SEC_WEBSOCKET_EXTENSIONS : string = 'Sec-WebSocket-Extensions'
- `Sec-WebSocket-Extensions` — Extensions negotiated for the connection (RFC 6455 §11.3.2).
- SEC_WEBSOCKET_KEY : string = 'Sec-WebSocket-Key'
- `Sec-WebSocket-Key` — Client's handshake key (RFC 6455 §11.3.1).
- SEC_WEBSOCKET_PROTOCOL : string = 'Sec-WebSocket-Protocol'
- `Sec-WebSocket-Protocol` — Subprotocols requested / selected (RFC 6455 §11.3.4).
- SEC_WEBSOCKET_VERSION : string = 'Sec-WebSocket-Version'
- `Sec-WebSocket-Version` — WebSocket protocol version (RFC 6455 §11.3.5).
Constants
SEC_WEBSOCKET_ACCEPT
`Sec-WebSocket-Accept` — Server's hashed acknowledgement of the handshake key (RFC 6455 §11.3.3).
public
string
SEC_WEBSOCKET_ACCEPT
= 'Sec-WebSocket-Accept'
SEC_WEBSOCKET_EXTENSIONS
`Sec-WebSocket-Extensions` — Extensions negotiated for the connection (RFC 6455 §11.3.2).
public
string
SEC_WEBSOCKET_EXTENSIONS
= 'Sec-WebSocket-Extensions'
SEC_WEBSOCKET_KEY
`Sec-WebSocket-Key` — Client's handshake key (RFC 6455 §11.3.1).
public
string
SEC_WEBSOCKET_KEY
= 'Sec-WebSocket-Key'
SEC_WEBSOCKET_PROTOCOL
`Sec-WebSocket-Protocol` — Subprotocols requested / selected (RFC 6455 §11.3.4).
public
string
SEC_WEBSOCKET_PROTOCOL
= 'Sec-WebSocket-Protocol'
SEC_WEBSOCKET_VERSION
`Sec-WebSocket-Version` — WebSocket protocol version (RFC 6455 §11.3.5).
public
string
SEC_WEBSOCKET_VERSION
= 'Sec-WebSocket-Version'