C# Class Microsoft.AspNet.SignalR.Client.Transports.ServerSentEventsTransport

Inheritance: Microsoft.AspNet.SignalR.Client.Transports.HttpBasedTransport
Datei anzeigen Open project: SignalR/SignalR Class Usage Examples

Public Methods

Method Description
LostConnection ( IConnection connection ) : void
ServerSentEventsTransport ( ) : System
ServerSentEventsTransport ( IHttpClient httpClient ) : System

Protected Methods

Method Description
OnStart ( IConnection connection, string connectionData, CancellationToken disconnectToken ) : void
OnStartFailed ( ) : void

Private Methods

Method Description
OpenConnection ( IConnection connection, string data, CancellationToken disconnectToken, bool reconnecting ) : void
Reconnect ( IConnection connection, string data, CancellationToken disconnectToken ) : void

Method Details

LostConnection() public method

public LostConnection ( IConnection connection ) : void
connection IConnection
return void

OnStart() protected method

protected OnStart ( IConnection connection, string connectionData, CancellationToken disconnectToken ) : void
connection IConnection
connectionData string
disconnectToken System.Threading.CancellationToken
return void

OnStartFailed() protected method

protected OnStartFailed ( ) : void
return void

ServerSentEventsTransport() public method

public ServerSentEventsTransport ( ) : System
return System

ServerSentEventsTransport() public method

public ServerSentEventsTransport ( IHttpClient httpClient ) : System
httpClient IHttpClient
return System