withMatchMethods
Function
interface YarpRoute { // ... omitted for brevity withMatchMethods(methods: string[]): YarpRoute;}Signature
method
withMatchMethods Matches requests that use the specified HTTP methods.
withMatchMethods(methods: string[]): YarpRouteParameters
methods string[] Returns
YarpRoute Applies to
This function is an extension method on the following types: