Skip to content
DocsTry Aspire
DocsTry

IResource.withUrls

Method
📦 Aspire.Hosting v13.4.0
interface IResource {
// ... omitted for brevity
withUrls(callback: (obj: ResourceUrlsCallbackContext) => Promise<void>): IResource;
}

Signature

methodwithUrlsbuilder
Registers a callback to customize the URLs displayed for the resource.
withUrls(callback: (obj: ResourceUrlsCallbackContext) => Promise<void>): IResource
callback(obj: ResourceUrlsCallbackContext) => Promise<void>
IResource

Defined on

This method is defined on the following type: