Skip to content
Docs Try Aspire
Docs Try

withMatchMethods

Method
📦 Aspire.Hosting.Yarp v13.3.0
interface YarpRoute {
// ... omitted for brevity
withMatchMethods(methods: string[]): YarpRoute;
}

Signature

method withMatchMethods
Matches requests that use the specified HTTP methods.
withMatchMethods(methods: string[]): YarpRoute
methods string[]
YarpRoute

Applies to

This method applies to the following types: