Méthode | Description | |
---|---|---|
Channel ( string topic, Newtonsoft.Json.Linq.JObject chanParams ) : |
||
Connect ( ) : void | ||
Disconnect ( System.Action callback = null, ushort code = null, string reason = null ) : void | ||
OnClose ( Action |
||
OnError ( Exception>.Action |
||
OnMessage ( Action |
||
OnOpen ( System.Action callback ) : void | ||
Socket ( string endpoint, |
||
Socket ( string endpoint, int timeout = Phoenix.DEFAULT_TIMEOUT, int heartbeatIntervalMs = Phoenix.DEFAULT_HEARTBEAT_INTERVAL, Newtonsoft.Json.Linq.JObject params_ = null, int>.Func |
Méthode | Description | |
---|---|---|
ConnectionState ( ) : string | ||
DefaultLogger ( string kind, string msg, Newtonsoft.Json.Linq.JObject data ) : void | ||
DefaultReconnectAfterMs ( int numTries ) : int | ||
EndpointUrl ( ) : string | ||
FlushSendBuffer ( ) : void | ||
IsConnected ( ) : bool | ||
Log ( string kind, string msg, Newtonsoft.Json.Linq.JObject data = null ) : void | ||
MakeRef ( ) : string | ||
OnConnClose ( object sender, |
||
OnConnError ( object sender, |
||
OnConnMessage ( object sender, |
||
OnConnOpen ( object sender, |
||
Push ( Newtonsoft.Json.Linq.JObject data ) : void | ||
Reconnect ( ) : void | ||
Remove ( |
||
SendHeartbeat ( ) : void | ||
TriggerChanError ( ) : void |
public Channel ( string topic, Newtonsoft.Json.Linq.JObject chanParams ) : |
||
topic | string | |
chanParams | Newtonsoft.Json.Linq.JObject | |
Résultat |
public Disconnect ( System.Action callback = null, ushort code = null, string reason = null ) : void | ||
callback | System.Action | |
code | ushort | |
reason | string | |
Résultat | void |
public OnError ( Exception>.Action |
||
callback | Exception>.Action | |
Résultat | void |
public OnMessage ( Action |
||
callback | Action |
|
Résultat | void |
public OnOpen ( System.Action callback ) : void | ||
callback | System.Action | |
Résultat | void |
public Socket ( string endpoint, |
||
endpoint | string | |
options | ||
Résultat | Newtonsoft.Json |
public Socket ( string endpoint, int timeout = Phoenix.DEFAULT_TIMEOUT, int heartbeatIntervalMs = Phoenix.DEFAULT_HEARTBEAT_INTERVAL, Newtonsoft.Json.Linq.JObject params_ = null, int>.Func |
||
endpoint | string | |
timeout | int | |
heartbeatIntervalMs | int | |
params_ | Newtonsoft.Json.Linq.JObject | |
reconnectAfterMs | int>.Func | |
logger | Action |
|
Résultat | Newtonsoft.Json |