Skip to content
Docs Try Aspire

withMetadata

Function
📦 Aspire.Hosting.Yarp v13.2.0
interface YarpRoute {
// ... omitted for brevity
withMetadata(metadata: Dict<string,string>): YarpRoute;
}

Signature

method withMetadata
Sets metadata for the route.
withMetadata(metadata: Dict<string,string>): YarpRoute
metadata Dict<string,string>
YarpRoute

Applies to

This function is an extension method on the following types: