ProxyExtension.RunProxy Method
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Overloads
RunProxy(IApplicationBuilder) |
Sends request to remote server as specified in options |
RunProxy(IApplicationBuilder, ProxyOptions) |
Sends request to remote server as specified in options |
RunProxy(IApplicationBuilder)
Sends request to remote server as specified in options
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ RunProxy(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder RunProxy (this Microsoft.AspNetCore.Builder.IApplicationBuilder app);
static member RunProxy : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function RunProxy (app As IApplicationBuilder) As IApplicationBuilder
Parameters
Returns
Applies to
RunProxy(IApplicationBuilder, ProxyOptions)
Sends request to remote server as specified in options
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ RunProxy(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ app, Microsoft::AspNetCore::Builder::ProxyOptions ^ options);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder RunProxy (this Microsoft.AspNetCore.Builder.IApplicationBuilder app, Microsoft.AspNetCore.Builder.ProxyOptions options);
static member RunProxy : Microsoft.AspNetCore.Builder.IApplicationBuilder * Microsoft.AspNetCore.Builder.ProxyOptions -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function RunProxy (app As IApplicationBuilder, options As ProxyOptions) As IApplicationBuilder
Parameters
- options
- ProxyOptions
Options for setting port, host, and scheme