Method | Description | |
---|---|---|
CloseAsync ( WebSocketErrorCode errorCode ) : Task | ||
ConnectAsync ( string uri, int port, bool useSSL ) : Task |
Connects asynchronous.
|
|
ConnectAsync ( string uri, int port, bool useSSL, |
Connects asynchronous.
|
|
Dispose ( ) : void | ||
ReceiveFrameAsync ( ) : Task |
||
ReceiveFrameAsync ( |
||
RegisterExtension ( IWebSocketExtension extension ) : void | ||
SendFrameAsync ( IWebSocketFrame frame ) : Task | ||
SendFrameAsync ( IWebSocketFrame frame, |
||
SendHandshakeAsync ( ) : Task |
Sends the default handshake asynchronous.
|
|
SendHandshakeAsync ( |
Sends the default handshake asynchronous.
|
|
SendHandshakeAsync ( WebSocket.Portable.WebSocketRequestHandshake handshake ) : Task |
Sends the handshake asynchronous.
|
|
SendHandshakeAsync ( WebSocket.Portable.WebSocketRequestHandshake handshake, |
Sends the handshake asynchronous.
|
|
SetSubProtocol ( string subProtocol ) : void |
Method | Description | |
---|---|---|
ConnectAsyncInternal ( string host, int port, bool useSsl, |
Connects asynchronous.
|
|
WebSocketBase ( ) : System |
Prevents a default instance of the WebSocketBase class from being created.
|
Method | Description | |
---|---|---|
SendAsync ( byte buffer, int offset, int length, |
Sends data asynchronous.
|
|
SendAsync ( string data, |
Sends data asynchronous.
|
public CloseAsync ( WebSocketErrorCode errorCode ) : Task | ||
errorCode | WebSocketErrorCode | |
return | Task |
public ConnectAsync ( string uri, int port, bool useSSL ) : Task | ||
uri | string | The URI. |
port | int | |
useSSL | bool | |
return | Task |
public ConnectAsync ( string uri, int port, bool useSSL, |
||
uri | string | The URI. |
port | int | |
useSSL | bool | |
cancellationToken | The cancellation token. | |
return | Task |
protected abstract ConnectAsyncInternal ( string host, int port, bool useSsl, |
||
host | string | The host. |
port | int | The port. |
useSsl | bool | if set to |
cancellationToken | The cancellation token. | |
return | Task |
public ReceiveFrameAsync ( |
||
cancellationToken | ||
return | Task |
public RegisterExtension ( IWebSocketExtension extension ) : void | ||
extension | IWebSocketExtension | |
return | void |
public SendFrameAsync ( IWebSocketFrame frame ) : Task | ||
frame | IWebSocketFrame | |
return | Task |
public SendFrameAsync ( IWebSocketFrame frame, |
||
frame | IWebSocketFrame | |
cancellationToken | ||
return | Task |
public SendHandshakeAsync ( |
||
cancellationToken | The cancellation token. | |
return | Task |
public SendHandshakeAsync ( WebSocket.Portable.WebSocketRequestHandshake handshake ) : Task |
||
handshake | WebSocket.Portable.WebSocketRequestHandshake | The handshake. |
return | Task |
public SendHandshakeAsync ( WebSocket.Portable.WebSocketRequestHandshake handshake, |
||
handshake | WebSocket.Portable.WebSocketRequestHandshake | The handshake. |
cancellationToken | The cancellation token. | |
return | Task |
public SetSubProtocol ( string subProtocol ) : void | ||
subProtocol | string | |
return | void |