ProxyExtension.RunProxy 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
多載
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
設定埠、主機和配置的選項