withTransformHttpMethodChange
Function
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 Applies to
This function is an extension method on the following types: