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

Inheritance: ForeverTransport
Datei anzeigen Open project: SignalR/SignalR Class Usage Examples

Public Methods

Method Description
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : System.Threading.Tasks.Task
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
ServerSentEventsTransport ( HostContext context, IDependencyResolver resolver ) : System
ServerSentEventsTransport ( HostContext context, IDependencyResolver resolver, IPerformanceCounterManager performanceCounterManager ) : System

Protected Methods

Method Description
InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task

Private Methods

Method Description
PerformKeepAlive ( object state ) : System.Threading.Tasks.Task
PerformSend ( object state ) : System.Threading.Tasks.Task
WriteInit ( ServerSentEventsTransport transport ) : System.Threading.Tasks.Task

Method Details

DecrementConnectionsCount() public method

public DecrementConnectionsCount ( ) : void
return void

IncrementConnectionsCount() public method

public IncrementConnectionsCount ( ) : void
return void

InitializeResponse() protected method

protected InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
return System.Threading.Tasks.Task

KeepAlive() public method

public KeepAlive ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Send() public method

public Send ( PersistentResponse response ) : System.Threading.Tasks.Task
response PersistentResponse
return System.Threading.Tasks.Task

ServerSentEventsTransport() public method

public ServerSentEventsTransport ( HostContext context, IDependencyResolver resolver ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
resolver IDependencyResolver
return System

ServerSentEventsTransport() public method

public ServerSentEventsTransport ( HostContext context, IDependencyResolver resolver, IPerformanceCounterManager performanceCounterManager ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
resolver IDependencyResolver
performanceCounterManager IPerformanceCounterManager
return System