Skip to content
DocsTry Aspire
DocsTry

subscribeHttpsEndpointsUpdate

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

Signature

methodsubscribeHttpsEndpointsUpdatebuilder
Subscribes to the `BeforeStartEvent` and invokes the specified callback when an HTTPS certificate is determined to be available for the resource. This is used to conditionally update endpoint URI schemes or perform other HTTPS-related configuration at startup.
subscribeHttpsEndpointsUpdate(callback: (obj: HttpsEndpointUpdateCallbackContext) => Promise<void>): IResource
callback(obj: HttpsEndpointUpdateCallbackContext) => Promise<void>
IResource

Applies to

This method applies to the following types: