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