Method | Description | |
---|---|---|
ConnectRequest ( ) : void | ||
Disconnect ( ) : void | ||
Dispose ( ) : void | ||
Handshake ( ) : void | ||
Publish ( string channel, JToken data ) : void | ||
Subscribe ( string channel ) : void | ||
Unsubscribe ( string channel ) : void |
Method | Description | |
---|---|---|
Connect ( string uri ) : void | ||
OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
OnConnected ( ) : void | ||
OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void |
Method | Description | |
---|---|---|
OnMessageReceived ( object sender, WebSocket4Net.MessageReceivedEventArgs messageReceivedEventArgs ) : void | ||
OnSocketClosed ( object sender, |
||
OnSocketError ( object sender, SuperSocket errorEventArgs ) : void | ||
OnSocketOpened ( object sender, |
||
Send ( object obj, bool addClientId = true ) : void | ||
WaitForTimeout ( ) : void |
protected OnConnectResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
protected OnHandshakeResponse ( Newtonsoft.Json.Linq.JObject response ) : void | ||
response | Newtonsoft.Json.Linq.JObject | |
return | void |
public Publish ( string channel, JToken data ) : void | ||
channel | string | |
data | JToken | |
return | void |