Class WebSocketUtils
- Namespace
- VpnHood.Core.Tunneling.WebSockets
- Assembly
- VpnHood.Core.Tunneling.dll
Provides the parts of the WebSocket protocol the client and the server share.
public static class WebSocketUtils
- Inheritance
-
WebSocketUtils
- Inherited Members
Fields
CloseStatusTryAgainLater
The close status of RFC 6455's registry for a server that cannot serve for now, "Try Again Later": 1013.
public const ushort CloseStatusTryAgainLater = 1013
Field Value
Methods
ComputeWebSocketAccept(string)
Computes the Sec-WebSocket-Accept value of a server's upgrade response, from its request's
Sec-WebSocket-Key.
public static string ComputeWebSocketAccept(string secWebSocketKey)
Parameters
secWebSocketKeystringThe request's key.
Returns
- string
The value.