Class HttpMethodTransformExtensions
Extensions for modifying the request method.
Inheritance
HttpMethodTransformExtensions
Assembly: Yarp.ReverseProxy.dll
public static class HttpMethodTransformExtensions : object
Methods
|
Improve this Doc
View Source
AddHttpMethodChange(TransformBuilderContext, String, String)
Adds the transform that will replace the HTTP method if it matches.
Declaration
public static TransformBuilderContext AddHttpMethodChange(this TransformBuilderContext context, string fromHttpMethod, string toHttpMethod)
Parameters
Returns
|
Improve this Doc
View Source
Clones the route and adds the transform that will replace the HTTP method if it matches.
Declaration
public static RouteConfig WithTransformHttpMethodChange(this RouteConfig route, string fromHttpMethod, string toHttpMethod)
Parameters
Returns