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

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

Public Methods

Method Description
DecrementConnectionsCount ( ) : void
IncrementConnectionsCount ( ) : void
KeepAlive ( ) : Task
ProcessRequest ( ITransportConnection connection ) : Task
Send ( PersistentResponse response ) : Task
Send ( object value ) : Task
WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool, int maxIncomingMessageSize ) : System

Private Methods

Method Description
AcceptWebSocketRequest ( ITransportConnection connection ) : Task
OnClosed ( ) : void
OnMessage ( string message ) : void
OnSocketError ( Exception error ) : void
PerformSend ( object state ) : Task

Method Details

DecrementConnectionsCount() public method

public DecrementConnectionsCount ( ) : void
return void

IncrementConnectionsCount() public method

public IncrementConnectionsCount ( ) : void
return void

KeepAlive() public method

public KeepAlive ( ) : Task
return Task

ProcessRequest() public method

public ProcessRequest ( ITransportConnection connection ) : Task
connection ITransportConnection
return Task

Send() public method

public Send ( PersistentResponse response ) : Task
response PersistentResponse
return Task

Send() public method

public Send ( object value ) : Task
value object
return Task

WebSocketTransport() public method

public WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool ) : System
context HttpContext
serializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
pool IMemoryPool
return System

WebSocketTransport() public method

public WebSocketTransport ( HttpContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, IApplicationLifetime applicationLifetime, ILoggerFactory loggerFactory, IMemoryPool pool, int maxIncomingMessageSize ) : System
context HttpContext
serializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
applicationLifetime IApplicationLifetime
loggerFactory ILoggerFactory
pool IMemoryPool
maxIncomingMessageSize int
return System