C# Class Microsoft.AspNetCore.Builder.HttpMethodOverrideExtensions

Show file Open project: aspnet/BasicMiddleware

Public Methods

Method Description
UseHttpMethodOverride ( this builder ) : IApplicationBuilder

Allows incoming POST request to override method type with type specified in header.

UseHttpMethodOverride ( this builder, HttpMethodOverrideOptions options ) : IApplicationBuilder

Allows incoming POST request to override method type with type specified in form.

Method Details

UseHttpMethodOverride() public static method

Allows incoming POST request to override method type with type specified in header.
public static UseHttpMethodOverride ( this builder ) : IApplicationBuilder
builder this The instance this method extends.
return IApplicationBuilder

UseHttpMethodOverride() public static method

Allows incoming POST request to override method type with type specified in form.
public static UseHttpMethodOverride ( this builder, HttpMethodOverrideOptions options ) : IApplicationBuilder
builder this The instance this method extends.
options HttpMethodOverrideOptions The .
return IApplicationBuilder