Dela via


HttpMethodOverrideMiddleware Constructor

Definition

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.

Applies to