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

Inheritance: ForeverTransport
Show file Open project: SignalR/SignalR 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 ( HostContext context, IDependencyResolver resolver ) : System
WebSocketTransport ( HostContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IMemoryPool pool, int maxIncomingMessageSize ) : System

Private Methods

Method Description
AcceptWebSocketRequest ( Task>.Func callback ) : 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 ( HostContext context, IDependencyResolver resolver ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
resolver IDependencyResolver
return System

WebSocketTransport() public method

public WebSocketTransport ( HostContext context, JsonSerializer serializer, ITransportHeartbeat heartbeat, IPerformanceCounterManager performanceCounterManager, ITraceManager traceManager, IMemoryPool pool, int maxIncomingMessageSize ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
serializer Newtonsoft.Json.JsonSerializer
heartbeat ITransportHeartbeat
performanceCounterManager IPerformanceCounterManager
traceManager ITraceManager
pool IMemoryPool
maxIncomingMessageSize int
return System