Méthode |
Description |
|
CheckSupportedWebSocketRequest ( string method, string>.IEnumerable headers ) : bool |
|
|
CreateRequestKey ( ) : string |
"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 requestKey ) : 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 key, string subProtocol ) : string>>.IEnumerable |
|
|
IsRequestKeyValid ( string value ) : bool |
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 value ) : bool |
|
|