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

Inheritance: TransportDisconnectBase, ITransport
显示文件 Open project: FabianGosebrink/ASPNET-Core-Angular2-SignalR-Typescript Class Usage Examples

Protected Properties

Property Type Description
FormContentType string

Public Methods

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

Protected Methods

Method 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

Method 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 method

protected EnsureFormContentType ( ) : void
return void

ForeverTransport() protected method

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
return System

InitializePersistentState() protected method

protected InitializePersistentState ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

InitializeResponse() protected method

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

OnError() protected method

protected OnError ( Exception ex ) : void
ex System.Exception
return void

OnMessageReceived() protected method

protected OnMessageReceived ( PersistentResponse response ) : Task
response PersistentResponse
return Task

OnSending() protected method

protected OnSending ( string payload ) : void
payload string
return void

OnSendingResponse() protected method

protected OnSendingResponse ( PersistentResponse response ) : void
response PersistentResponse
return void

ProcessRequest() public method

public ProcessRequest ( ITransportConnection connection ) : System.Threading.Tasks.Task
connection ITransportConnection
return System.Threading.Tasks.Task

ProcessRequestCore() protected method

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

ProcessSendRequest() protected method

protected ProcessSendRequest ( ) : System.Threading.Tasks.Task
return System.Threading.Tasks.Task

Send() public abstract method

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

Send() public method

public Send ( object value ) : System.Threading.Tasks.Task
value object
return System.Threading.Tasks.Task

Property Details

FormContentType protected_oe static_oe property

protected static string FormContentType
return string