ResponseBufferingMiddlewareExtensions.UseResponseBuffering 方法

定义

启用响应正文的完全缓冲。 可以使用 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

参数

返回

适用于