C# Class Websockets.Net.WebsocketConnection

A Websocket connection for 'full' .Net Core applications
Inheritance: IWebSocketConnection
Exibir arquivo Open project: NVentimiglia/Websockets.PCL

Public Methods

Method Description
Close ( ) : void
Dispose ( ) : void
EndConnection ( ) : void
Link ( ) : void

Factory Initializer

Open ( string url, string protocol = null, string authToken = null ) : void
Send ( string message ) : void
_websocket_Closed ( WebSocketWrapper arg ) : void
_websocket_Error ( Exception obj ) : void
_websocket_MessageReceived ( string m, WebSocketWrapper arg ) : void
_websocket_Opened ( WebSocketWrapper arg ) : void

Private Methods

Method Description
WebsocketConnection ( ) : System

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : void
return void

EndConnection() public method

public EndConnection ( ) : void
return void

Link() public static method

Factory Initializer
public static Link ( ) : void
return void

Open() public method

public Open ( string url, string protocol = null, string authToken = null ) : void
url string
protocol string
authToken string
return void

Send() public method

public Send ( string message ) : void
message string
return void

_websocket_Closed() public method

public _websocket_Closed ( WebSocketWrapper arg ) : void
arg WebSocketWrapper
return void

_websocket_Error() public method

public _websocket_Error ( Exception obj ) : void
obj System.Exception
return void

_websocket_MessageReceived() public method

public _websocket_MessageReceived ( string m, WebSocketWrapper arg ) : void
m string
arg WebSocketWrapper
return void

_websocket_Opened() public method

public _websocket_Opened ( WebSocketWrapper arg ) : void
arg WebSocketWrapper
return void