C# Class LightNode.Server.LightNodeServerMiddleware

ファイルを表示 Open project: neuecc/LightNode

Public Methods

Method Description
GetRegisteredHandlersInfo ( ) : RegisteredHandlersInfo>.ILookup

Get all registered handlers. Key is ILightNodeOptions.ServerEngineId.

Invoke ( HttpContext context ) : System.Threading.Tasks.Task
Invoke ( object>.IDictionary environment ) : System.Threading.Tasks.Task
LightNodeServerMiddleware ( AppFunc next, ILightNodeOptions options ) : LightNode.Server
LightNodeServerMiddleware ( AppFunc next, ILightNodeOptions options, Assembly hostAssemblies ) : LightNode.Server
LightNodeServerMiddleware ( RequestDelegate next, ILightNodeOptions options, Assembly hostAssemblies ) : LightNode.Server

Method Details

GetRegisteredHandlersInfo() public static method

Get all registered handlers. Key is ILightNodeOptions.ServerEngineId.
public static GetRegisteredHandlersInfo ( ) : RegisteredHandlersInfo>.ILookup
return RegisteredHandlersInfo>.ILookup

Invoke() public method

public Invoke ( HttpContext context ) : System.Threading.Tasks.Task
context HttpContext
return System.Threading.Tasks.Task

Invoke() public method

public Invoke ( object>.IDictionary environment ) : System.Threading.Tasks.Task
environment object>.IDictionary
return System.Threading.Tasks.Task

LightNodeServerMiddleware() public method

public LightNodeServerMiddleware ( AppFunc next, ILightNodeOptions options ) : LightNode.Server
next AppFunc
options ILightNodeOptions
return LightNode.Server

LightNodeServerMiddleware() public method

public LightNodeServerMiddleware ( AppFunc next, ILightNodeOptions options, Assembly hostAssemblies ) : LightNode.Server
next AppFunc
options ILightNodeOptions
hostAssemblies System.Reflection.Assembly
return LightNode.Server

LightNodeServerMiddleware() public method

public LightNodeServerMiddleware ( RequestDelegate next, ILightNodeOptions options, Assembly hostAssemblies ) : LightNode.Server
next RequestDelegate
options ILightNodeOptions
hostAssemblies System.Reflection.Assembly
return LightNode.Server