Skip to content
Docs Try Aspire
Docs Try

withUrlsCallbackAsync

Method
📦 Aspire.Hosting v13.2.0
interface ContainerResource {
// ... omitted for brevity
withUrlsCallbackAsync(callback: callback): IResource;
}

Signature

method withUrlsCallbackAsync builder
Customizes displayed URLs via async callback
withUrlsCallbackAsync(callback: (arg: ResourceUrlsCallbackContext) => Promise<void>): IResource
callback (arg: ResourceUrlsCallbackContext) => Promise<void>
IResource

Applies to

This method applies to the following types: