Skip to content
Docs Try Aspire
Docs Try

IResource.withUrls

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

Signature

method withUrls builder
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: