Watch Aspire live streamsDocsTry Aspire

IResource.subscribeHttpsEndpointsUpdate

Method
📦 Aspire.Hosting v13.6.0
interface IResource {
// ... omitted for brevity
subscribeHttpsEndpointsUpdate(callback: (obj: HttpsEndpointUpdateCallbackContext) => Promise<void>): 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

Defined on

This method is defined on the following type: