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

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

Protected Properties

Свойство Type Description
FormContentType string

Méthodes publiques

Méthode Description
ProcessRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task
Send ( PersistentResponse response ) : System.Threading.Tasks.Task
Send ( object value ) : System.Threading.Tasks.Task

Méthodes protégées

Méthode Description
EnsureFormContentType ( ) : void
ForeverTransport ( HttpContext context, JsonSerializer jsonSerializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
InitializePersistentState ( ) : System.Threading.Tasks.Task
InitializeResponse ( ITransportConnection connection ) : System.Threading.Tasks.Task
OnError ( Exception ex ) : void
OnMessageReceived ( PersistentResponse response ) : Task
OnSending ( string payload ) : void
OnSendingResponse ( PersistentResponse response ) : void
ProcessRequestCore ( ITransportConnection connection ) : System.Threading.Tasks.Task
ProcessSendRequest ( ) : System.Threading.Tasks.Task

Private Methods

Méthode Description
Cancel ( object state ) : void
PerformSend ( object state ) : System.Threading.Tasks.Task
ProcessMessages ( ITransportConnection connection, Func initialize ) : System.Threading.Tasks.Task
ProcessReceiveRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task

Method Details

EnsureFormContentType() protected méthode

protected EnsureFormContentType ( ) : void
Résultat void

ForeverTransport() protected méthode

protected ForeverTransport ( 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

InitializePersistentState() protected méthode

protected InitializePersistentState ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

InitializeResponse() protected méthode

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

OnError() protected méthode

protected OnError ( Exception ex ) : void
ex System.Exception
Résultat void

OnMessageReceived() protected méthode

protected OnMessageReceived ( PersistentResponse response ) : Task
response PersistentResponse
Résultat Task

OnSending() protected méthode

protected OnSending ( string payload ) : void
payload string
Résultat void

OnSendingResponse() protected méthode

protected OnSendingResponse ( PersistentResponse response ) : void
response PersistentResponse
Résultat void

ProcessRequest() public méthode

public ProcessRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
Résultat System.Threading.Tasks.Task

ProcessRequestCore() protected méthode

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

ProcessSendRequest() protected méthode

protected ProcessSendRequest ( ) : System.Threading.Tasks.Task
Résultat System.Threading.Tasks.Task

Send() public abstract méthode

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

Send() public méthode

public Send ( object value ) : System.Threading.Tasks.Task
value object
Résultat System.Threading.Tasks.Task

Property Details

FormContentType protected_oe static_oe property

protected static string FormContentType
Résultat string