C# Class Gate.Middleware.WebSockets.OpaqueToWebSocket

Show file Open project: owin/museum-piece-gate

Public Methods

Method Description
Middleware ( Func,Task> app ) : Func,Task>
UseWebSockets ( this builder ) : IAppBuilder

Private Methods

Method Description
IsWebSocketRequest ( object>.IDictionary env ) : bool
SetWebSocketResponseHeaders ( object>.IDictionary env, object>.IDictionary acceptOptions ) : void

Method Details

Middleware() public static method

public static Middleware ( Func,Task> app ) : Func,Task>
app Func,Task>
return Func,Task>

UseWebSockets() public static method

public static UseWebSockets ( this builder ) : IAppBuilder
builder this
return IAppBuilder