C# Class Tmds.SockJS.SessionWebSocketFeature

Inheritance: IHttpWebSocketFeature
显示文件 Open project: tmds/Tmds.SockJS Class Usage Examples

Public Methods

Method Description
AcceptAsync ( WebSocketAcceptContext context ) : Task
SessionWebSocketFeature ( TaskCompletionSource completionSource, Session session ) : System.Threading.Tasks

Method Details

AcceptAsync() public method

public AcceptAsync ( WebSocketAcceptContext context ) : Task
context WebSocketAcceptContext
return Task

SessionWebSocketFeature() public method

public SessionWebSocketFeature ( TaskCompletionSource completionSource, Session session ) : System.Threading.Tasks
completionSource TaskCompletionSource
session Session
return System.Threading.Tasks