Aspirerelease/17.0
Watch Aspire live streamsDocsTry Aspire

WithMetadata

Method
📦 Aspire.Hosting.Yarp v17.0.0
func (YarpRoute) WithMetadata(metadata map[string]string) YarpRoute

Signature

methodWithMetadata
Set the Metadata of the destination
WithMetadata(metadata map[string]string) YarpRoute
metadatamap[string]string
YarpRoute

Returns a handle; failures surface later via Err().

Applies to

This method applies to the following types: