Terraria v1.4.4.9
Terraria source code documentation
|
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, string > | CreateSecKeyAndSecWebSocketAccept () |
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 |
Definition at line 14 of file WebSocketHandle.cs.