C# Class Websockets.Net.WebsocketConnection

A Websocket connection for 'full' .Net Core applications
Inheritance: IWebSocketConnection
Afficher le fichier Open project: NVentimiglia/Websockets.PCL

Méthodes publiques

Méthode 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

Méthode Description
WebsocketConnection ( ) : System

Method Details

Close() public méthode

public Close ( ) : void
Résultat void

Dispose() public méthode

public Dispose ( ) : void
Résultat void

EndConnection() public méthode

public EndConnection ( ) : void
Résultat void

Link() public static méthode

Factory Initializer
public static Link ( ) : void
Résultat void

Open() public méthode

public Open ( string url, string protocol = null, string authToken = null ) : void
url string
protocol string
authToken string
Résultat void

Send() public méthode

public Send ( string message ) : void
message string
Résultat void

_websocket_Closed() public méthode

public _websocket_Closed ( WebSocketWrapper arg ) : void
arg WebSocketWrapper
Résultat void

_websocket_Error() public méthode

public _websocket_Error ( Exception obj ) : void
obj System.Exception
Résultat void

_websocket_MessageReceived() public méthode

public _websocket_MessageReceived ( string m, WebSocketWrapper arg ) : void
m string
arg WebSocketWrapper
Résultat void

_websocket_Opened() public méthode

public _websocket_Opened ( WebSocketWrapper arg ) : void
arg WebSocketWrapper
Résultat void