C# Class ServiceStack.NetCoreAppHostExtensions

显示文件 Open project: ServiceStack/ServiceStack

Public Methods

Method Description
ToRequest ( this httpContext, string operationName = null ) : IHttpRequest
Use ( this app, System httpHandler ) : IApplicationBuilder
UseServiceStack ( this app, AppHostBase appHost ) : IApplicationBuilder

Method Details

ToRequest() public static method

public static ToRequest ( this httpContext, string operationName = null ) : IHttpRequest
httpContext this
operationName string
return IHttpRequest

Use() public static method

public static Use ( this app, System httpHandler ) : IApplicationBuilder
app this
httpHandler System
return IApplicationBuilder

UseServiceStack() public static method

public static UseServiceStack ( this app, AppHostBase appHost ) : IApplicationBuilder
app this
appHost AppHostBase
return IApplicationBuilder