ResponseCompressionMiddleware Constructor
Definition
Important
Some information relates to prerelease product that may be substantially modified before it’s released. Microsoft makes no warranties, express or implied, with respect to the information provided here.
Initialize the Response Compression middleware.
public:
ResponseCompressionMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::AspNetCore::ResponseCompression::IResponseCompressionProvider ^ provider);
public ResponseCompressionMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider provider);
new Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.AspNetCore.ResponseCompression.IResponseCompressionProvider -> Microsoft.AspNetCore.ResponseCompression.ResponseCompressionMiddleware
Public Sub New (next As RequestDelegate, provider As IResponseCompressionProvider)
Parameters
- next
- RequestDelegate
The delegate representing the remaining middleware in the request pipeline.
- provider
- IResponseCompressionProvider
Applies to
Feedback
https://aka.ms/ContentUserFeedback.
Coming soon: Throughout 2024 we will be phasing out GitHub Issues as the feedback mechanism for content and replacing it with a new feedback system. For more information see:Submit and view feedback for