共用方式為


ProxyExtension.RunProxy 方法

定義

多載

RunProxy(IApplicationBuilder)

如選項中所指定,將要求傳送至遠端伺服器

RunProxy(IApplicationBuilder, ProxyOptions)

如選項中所指定,將要求傳送至遠端伺服器

RunProxy(IApplicationBuilder)

如選項中所指定,將要求傳送至遠端伺服器

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

參數

傳回

適用於

RunProxy(IApplicationBuilder, ProxyOptions)

如選項中所指定,將要求傳送至遠端伺服器

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

參數

options
ProxyOptions

設定埠、主機和配置的選項

傳回

適用於