HttpMethodOverrideMiddleware 类

定义

用于替代传入 POST 请求的 HTTP 方法的中间件。

public ref class HttpMethodOverrideMiddleware
public class HttpMethodOverrideMiddleware
type HttpMethodOverrideMiddleware = class
Public Class HttpMethodOverrideMiddleware
继承
HttpMethodOverrideMiddleware

构造函数

HttpMethodOverrideMiddleware(RequestDelegate, IOptions<HttpMethodOverrideOptions>)

创建新的 HttpMethodOverrideMiddleware

方法

Invoke(HttpContext)

执行中间件。

适用于