YarpRoute.WithTransformHttpMethodChange
Method
type YarpRoute interface { // ... omitted for brevity WithTransformHttpMethodChange( fromHttpMethod string, toHttpMethod string, ) YarpRoute}Signature
method
WithTransformHttpMethodChange Adds the transform that will replace the HTTP method if it matches.
WithTransformHttpMethodChange( fromHttpMethod string, toHttpMethod string,) YarpRouteParameters
fromHttpMethod stringtoHttpMethod stringReturns
YarpRoute Returns a handle; failures surface later via Err().
Defined on
This method is defined on the following type: