Skip to content
Docs Try Aspire

withUrlsCallback

Function
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface ContainerResource {
// ... omitted for brevity
withUrlsCallback(callback: callback): IResource;
}

Signature

method withUrlsCallback builder
Customizes displayed URLs via callback
withUrlsCallback(callback: (obj: ResourceUrlsCallbackContext) => void): IResource
callback (obj: ResourceUrlsCallbackContext) => void
IResource

Applies to

This function is an extension method on the following types: