Skip to content
Docs Try Aspire
Docs Try

withHttpsEndpointCallback

Method
📦 Aspire.Hosting v13.3.0
interface ContainerResource {
// ... omitted for brevity
withHttpsEndpointCallback(
callback: callback,
name?: string,
createIfNotExists?: boolean): IResourceWithEndpoints;
}

Signature

method withHttpsEndpointCallback builder
Updates an HTTPS endpoint via callback
withHttpsEndpointCallback(callback: (obj: EndpointUpdateContext) => Promise<void>, name?: string, createIfNotExists?: boolean): IResourceWithEndpoints
callback (obj: EndpointUpdateContext) => Promise<void>
name string optional
createIfNotExists boolean optional = True
IResourceWithEndpoints

Applies to

This method applies to the following types: