C# Class Microsoft.AspNetCore.Builder.ProxyExtension

显示文件 Open project: aspnet/Proxy

Public Methods

Method Description
RunProxy ( this app ) : IApplicationBuilder

Sends request to remote server as specified in options

RunProxy ( this app, ProxyOptions options ) : IApplicationBuilder

Sends request to remote server as specified in options

Method Details

RunProxy() public static method

Sends request to remote server as specified in options
public static RunProxy ( this app ) : IApplicationBuilder
app this
return IApplicationBuilder

RunProxy() public static method

Sends request to remote server as specified in options
public static RunProxy ( this app, ProxyOptions options ) : IApplicationBuilder
app this
options ProxyOptions Options for setting port, host, and scheme
return IApplicationBuilder