YarpRoute.withMatchMethods
Method
interface YarpRoute { // ... omitted for brevity withMatchMethods(methods: string[]): YarpRoute;}Signature
method
withMatchMethodsOnly match requests that use these optional HTTP methods. E.g. GET, POST.
withMatchMethods(methods: string[]): YarpRouteParameters
methodsstring[]Returns
YarpRouteDefined on
This method is defined on the following type: