TTMSFNCWebSocketRequest Class
Holds the parsed details of the upgrade handshake request, exposing the requested resource and the relevant handshake headers.
API unit family: TMSFNCWebSocketCommon
Syntax
TTMSFNCWebSocketRequest = class
Properties
| Name | Description |
|---|---|
| Connection | Value of the Connection header, expected to request an upgrade. |
| Extensions | Extensions requested by the client in the handshake. |
| Host | Value of the Host header identifying the target host. |
| Key | Handshake key supplied by the client and used to compute the accept response. |
| Origin | Value of the Origin header identifying the requesting origin. |
| Protocol | Sub-protocol requested by the client in the handshake. |
| QueryParams | Query parameters parsed from the requested resource. |
| RawHeaders | Raw header lines of the handshake request as received. |
| Resource | Requested resource path, including any query string. |
| Upgrade | Value of the Upgrade header naming the protocol to switch to. |
| Version | Protocol version requested by the client in the handshake. |