HandshakeHelpers Class
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
public ref class HandshakeHelpers abstract sealed
public static class HandshakeHelpers
type HandshakeHelpers = class
Public Class HandshakeHelpers
- Inheritance
-
HandshakeHelpers
Properties
| NeededHeaders |
Gets request headers needed process the handshake on the server. |
Methods
| CheckSupportedWebSocketRequest(String, IEnumerable<KeyValuePair<String,String>>) | |
| CreateRequestKey() |
"The value of this header field MUST be a nonce consisting of a randomly selected 16-byte value that has been base64-encoded." |
| CreateResponseKey(String) |
"...the base64-encoded SHA-1 of the concatenation of the |Sec-WebSocket-Key| (as a string, not base64-decoded) with the string '258EAFA5-E914-47DA-95CA-C5AB0DC85B11'" |
| GenerateResponseHeaders(String, String) | |
| IsRequestKeyValid(String) |
Validates the Sec-WebSocket-Key request header "The value of this header field MUST be a nonce consisting of a randomly selected 16-byte value that has been base64-encoded." |
| IsResponseKeyValid(String) | |