Method | Description | |
---|---|---|
Abort ( ) : void | ||
CloseAsync ( WebSocketCloseStatus closeStatus, string statusDescription, |
||
CloseOutputAsync ( WebSocketCloseStatus closeStatus, string statusDescription, |
||
ConnectAsync ( |
||
CreateClientWebSocket ( string subProtocol, System.TimeSpan keepAliveInterval, int receiveBufferSize, bool useZeroMask ) : |
||
Dispose ( ) : void | ||
ReceiveAsync ( ArraySegment |
||
SendAsync ( ArraySegment |
Method | Description | |
---|---|---|
CommonWebSocket ( string subProtocol, System.TimeSpan keepAliveInterval, int receiveBufferSize, bool maskOutput, bool useZeroMask, bool unmaskInput ) : System |
Method | Description | |
---|---|---|
EnsureDataAvailableOrReadAsync ( int bytesNeeded, |
||
GetNextMask ( ) : int | ||
ProcessCloseFrameAsync ( |
||
ReadNextFrameAsync ( |
||
SendErrorAbortAndThrow ( WebSocketCloseStatus error, string message, |
||
SendKeepAlive ( object state ) : void | ||
SendKeepAliveAsync ( ) : void | ||
SendPongReplyAsync ( |
||
ThrowIfDisposed ( ) : void | ||
ThrowIfInputClosed ( ) : void | ||
ThrowIfOutputClosed ( ) : void | ||
ValidateCloseStatus ( WebSocketCloseStatus closeStatus ) : bool | ||
ValidateOpCode ( int opCode ) : bool | ||
ValidateSegment ( ArraySegment |
public CloseAsync ( WebSocketCloseStatus closeStatus, string statusDescription, |
||
closeStatus | WebSocketCloseStatus | |
statusDescription | string | |
cancellationToken | ||
return | Task |
public CloseOutputAsync ( WebSocketCloseStatus closeStatus, string statusDescription, |
||
closeStatus | WebSocketCloseStatus | |
statusDescription | string | |
cancellationToken | ||
return | Task |
protected CommonWebSocket ( string subProtocol, System.TimeSpan keepAliveInterval, int receiveBufferSize, bool maskOutput, bool useZeroMask, bool unmaskInput ) : System | ||
subProtocol | string | |
keepAliveInterval | System.TimeSpan | |
receiveBufferSize | int | |
maskOutput | bool | |
useZeroMask | bool | |
unmaskInput | bool | |
return | System |
public ConnectAsync ( |
||
uri | ||
cancellationToken | ||
return | Task |
public static CreateClientWebSocket ( string subProtocol, System.TimeSpan keepAliveInterval, int receiveBufferSize, bool useZeroMask ) : |
||
subProtocol | string | |
keepAliveInterval | System.TimeSpan | |
receiveBufferSize | int | |
useZeroMask | bool | |
return |
public ReceiveAsync ( ArraySegment |
||
buffer | ArraySegment |
|
cancellationToken | ||
return | Task |
public SendAsync ( ArraySegment |
||
buffer | ArraySegment |
|
messageType | WebSocketMessageType | |
endOfMessage | bool | |
cancellationToken | ||
return | Task |