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

Inheritance: ForeverTransport
Afficher le fichier Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Méthodes publiques

Méthode 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

Méthodes protégées

Méthode Description
InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task

Private Methods

Méthode 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 méthode

public DecrementConnectionsCount ( ) : void
Résultat void

IncrementConnectionsCount() public méthode

public IncrementConnectionsCount ( ) : void
Résultat void

InitializeResponse() protected méthode

protected InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
Résultat System.Threading.Tasks.Task

KeepAlive() public méthode

public KeepAlive ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Send() public méthode

public Send ( PersistentResponse response ) : System.Threading.Tasks.Task
response PersistentResponse
Résultat System.Threading.Tasks.Task

ServerSentEventsTransport() public méthode

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
Résultat System