Skip to content
DocsTry Aspire
DocsTry

YarpRoute.withMetadata

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

Signature

methodwithMetadata
Set the Metadata of the destination
withMetadata(metadata: Dict<string,string>): YarpRoute
metadataDict<string,string>
YarpRoute

Defined on

This method is defined on the following type: