Terraria v1.4.4.9
Terraria source code documentation
|
Static Package Functions | |
static string | GetSecWebSocketAcceptString (string secWebSocketKey) |
static bool | ProcessWebSocketProtocolHeader (string clientSecWebSocketProtocol, string subProtocol, out string acceptProtocol) |
static void | ValidateOptions (string subProtocol, int receiveBufferSize, int sendBufferSize, TimeSpan keepAliveInterval) |
static Task< HttpListenerWebSocketContext > | AcceptWebSocketAsync (HttpListenerContext context, string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval, ArraySegment< byte > internalBuffer) |
static ConfiguredTaskAwaitable | SuppressContextFlow (this Task task) |
static ConfiguredTaskAwaitable< T > | SuppressContextFlow< T > (this Task< T > task) |
static void | ValidateInnerStream (Stream innerStream) |
static void | ThrowIfConnectionAborted (Stream connection, bool read) |
static void | ThrowPlatformNotSupportedException_WSPC () |
Properties | |
static string | SupportedVersion [get] |
static bool | WebSocketsSupported = Environment.OSVersion.Version >= new Version(6, 2) [get] |
Static Private Member Functions | |
static void | ValidateWebSocketHeaders (HttpListenerContext context) |
static async Task< HttpListenerWebSocketContext > | AcceptWebSocketAsyncCore (HttpListenerContext context, string subProtocol, int receiveBufferSize, TimeSpan keepAliveInterval, ArraySegment< byte > internalBuffer) |
static unsafe ulong | SendWebSocketHeaders (HttpListenerResponse response) |
Definition at line 12 of file HttpWebSocket.cs.