Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Net.WebSockets.WebSocketHandle Class Referencesealed

Classes

class  DefaultWebProxy
 

Public Member Functions

void Dispose ()
 
void Abort ()
 
async Task ConnectAsync (Uri uri, CancellationToken cancellationToken, ClientWebSocketOptions options)
 

Static Public Member Functions

static ClientWebSocketOptions CreateDefaultOptions ()
 

Properties

WebSocket WebSocket [get, private set]
 
WebSocketState State [get]
 

Static Private Member Functions

static WebSocketDeflateOptions ParseDeflateOptions (ReadOnlySpan< char > extension, WebSocketDeflateOptions original)
 
static void AddWebSocketHeaders (HttpRequestMessage request, string secKey, ClientWebSocketOptions options)
 
static KeyValuePair< string, stringCreateSecKeyAndSecWebSocketAccept ()
 
static void ValidateHeader (HttpHeaders headers, string name, string expectedValue)
 

Private Attributes

readonly CancellationTokenSource _abortSource = new CancellationTokenSource()
 
WebSocketState _state = WebSocketState.Connecting
 
WebSocketDeflateOptions _negotiatedDeflateOptions
 

Static Private Attributes

static SocketsHttpHandler s_defaultHandler
 

Detailed Description

Definition at line 14 of file WebSocketHandle.cs.


The documentation for this class was generated from the following file: