ResponseBufferingMiddlewareExtensions.UseResponseBuffering 方法
定義
重要
部分資訊涉及發行前產品,在發行之前可能會有大幅修改。 Microsoft 對此處提供的資訊,不做任何明確或隱含的瑕疵擔保。
啟用回應主體的完整緩衝。 您可以使用 IHttpBufferingFeature,根據每個要求停用此功能。
public:
[System::Runtime::CompilerServices::Extension]
static Microsoft::AspNetCore::Builder::IApplicationBuilder ^ UseResponseBuffering(Microsoft::AspNetCore::Builder::IApplicationBuilder ^ builder);
public static Microsoft.AspNetCore.Builder.IApplicationBuilder UseResponseBuffering (this Microsoft.AspNetCore.Builder.IApplicationBuilder builder);
static member UseResponseBuffering : Microsoft.AspNetCore.Builder.IApplicationBuilder -> Microsoft.AspNetCore.Builder.IApplicationBuilder
<Extension()>
Public Function UseResponseBuffering (builder As IApplicationBuilder) As IApplicationBuilder
參數
- builder
- IApplicationBuilder