YarpRoute.withTransformHttpMethodChange
Method
interface YarpRoute { // ... omitted for brevity withTransformHttpMethodChange( fromHttpMethod: string, toHttpMethod: string): YarpRoute;}Signature
method
withTransformHttpMethodChangeAdds the transform that will replace the HTTP method if it matches.
withTransformHttpMethodChange( fromHttpMethod: string, toHttpMethod: string): YarpRouteParameters
fromHttpMethodstringtoHttpMethodstringReturns
YarpRouteDefined on
This method is defined on the following type: