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

Inheritance: ForeverTransport
Datei anzeigen Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Public Methods

Method Description
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : System.Threading.Tasks.Task
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
ServerSentEventsTransport ( HttpContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : 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 ( HttpContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
context HttpContext
jsonSerializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
pool IMemoryPool
return System