Method | Description | |
---|---|---|
LongPollingTransport ( ) : System | ||
LongPollingTransport ( IHttpClient httpClient ) : System | ||
LostConnection ( IConnection connection ) : void |
Aborts the currently active polling request thereby forcing a reconnect.
|
Method | Description | |
---|---|---|
OnStart ( IConnection connection, string connectionData, |
||
OnStartFailed ( ) : void |
Method | Description | |
---|---|---|
FireReconnected ( IConnection connection ) : void | ||
IsKeepAlive ( ArraySegment |
||
IsReconnecting ( IConnection connection ) : bool | ||
OnAfterPoll ( |
||
OnChunk ( IConnection connection, ArraySegment |
||
OnError ( IConnection connection, |
||
OnMessage ( IConnection connection, string message ) : void | ||
Poll ( IConnection connection, string connectionData ) : void | ||
ResolveUrl ( IConnection connection, string connectionData ) : string | ||
StartPolling ( IConnection connection, string connectionData ) : void |
Starts the polling loop.
|
|
StopPolling ( ) : void |
Fully stops the polling loop.
|
|
TryDelayedReconnect ( IConnection connection, ThreadSafeInvoker reconnectInvoker ) : void | ||
TryReconnect ( IConnection connection, ThreadSafeInvoker reconnectInvoker ) : void |
public LongPollingTransport ( IHttpClient httpClient ) : System | ||
httpClient | IHttpClient | |
return | System |
public LostConnection ( IConnection connection ) : void | ||
connection | IConnection | |
return | void |
protected OnStart ( IConnection connection, string connectionData, |
||
connection | IConnection | |
connectionData | string | |
disconnectToken | ||
return | void |