C# 클래스 Microsoft.AspNet.SignalR.Transports.WebSocketTransport

상속: ForeverTransport
파일 보기 프로젝트 열기: SignalR/SignalR 1 사용 예제들

공개 메소드들

메소드 설명
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

비공개 메소드들

메소드 설명
AcceptWebSocketRequest ( Task>.Func callback ) : Task
OnClosed ( ) : void
OnMessage ( string message ) : void
OnSocketError ( Exception error ) : void
PerformSend ( object state ) : Task

메소드 상세

DecrementConnectionsCount() 공개 메소드

public DecrementConnectionsCount ( ) : void
리턴 void

IncrementConnectionsCount() 공개 메소드

public IncrementConnectionsCount ( ) : void
리턴 void

KeepAlive() 공개 메소드

public KeepAlive ( ) : Task
리턴 Task

ProcessRequest() 공개 메소드

public ProcessRequest ( ITransportConnection connection ) : Task
connection ITransportConnection
리턴 Task

Send() 공개 메소드

public Send ( PersistentResponse response ) : Task
response PersistentResponse
리턴 Task

Send() 공개 메소드

public Send ( object value ) : Task
value object
리턴 Task

WebSocketTransport() 공개 메소드

public WebSocketTransport ( HostContext context, IDependencyResolver resolver ) : System
context Microsoft.AspNet.SignalR.Hosting.HostContext
resolver IDependencyResolver
리턴 System

WebSocketTransport() 공개 메소드

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
리턴 System