HttpMethodOverrideMiddleware 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.
Create a new HttpMethodOverrideMiddleware.
public:
HttpMethodOverrideMiddleware(Microsoft::AspNetCore::Http::RequestDelegate ^ next, Microsoft::Extensions::Options::IOptions<Microsoft::AspNetCore::Builder::HttpMethodOverrideOptions ^> ^ options);
public HttpMethodOverrideMiddleware (Microsoft.AspNetCore.Http.RequestDelegate next, Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions> options);
new Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware : Microsoft.AspNetCore.Http.RequestDelegate * Microsoft.Extensions.Options.IOptions<Microsoft.AspNetCore.Builder.HttpMethodOverrideOptions> -> Microsoft.AspNetCore.HttpOverrides.HttpMethodOverrideMiddleware
Public Sub New (next As RequestDelegate, options As IOptions(Of HttpMethodOverrideOptions))
Parameters
- next
- RequestDelegate
The RequestDelegate representing the next middleware in the pipeline.
- options
- IOptions<HttpMethodOverrideOptions>
The HttpMethodOverrideOptions for configuring the middleware.