YarpRoute.withTransformHttpMethodChange
Method
interface YarpRoute { // ... 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 string toHttpMethod string Returns
YarpRoute Defined on
This method is defined on the following type: