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
YarpRouteApplies to
This method applies to the following types: