C# Class Websockets.Ios.WebsocketConnection

Inheritance: IWebSocketConnection
Show file Open project: NVentimiglia/Websockets.PCL

Public Methods

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

Factory Initializer

Open ( string url, string protocol = null, string authToken = null ) : void
Send ( string message ) : void

Private Methods

Method Description
WebsocketConnection ( ) : System
_client_ReceivedMessage ( object sender, WebSocketReceivedMessageEventArgs e ) : void
_client_WebSocketClosed ( object sender, WebSocketClosedEventArgs e ) : void
_client_WebSocketFailed ( object sender, WebSocketFailedEventArgs e ) : void
_client_WebSocketOpened ( object sender, EventArgs e ) : void

Method Details

Close() public method

public Close ( ) : void
return void

Dispose() public method

public Dispose ( ) : 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