WithTransformHttpMethodChange
Method
func (YarpRoute) WithTransformHttpMethodChange( fromHttpMethod string, toHttpMethod string,) YarpRouteSignature
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().
Applies to
This method applies to the following types: