Skip to content
Docs Try Aspire
Docs Try

IResourceWithEndpoints.withHttpsEndpointCallback

Method
📦 Aspire.Hosting v13.4.0
interface IResourceWithEndpoints {
// ... omitted for brevity
withHttpsEndpointCallback(callback: (obj: EndpointUpdateContext) => Promise<void>, 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

Defined on

This method is defined on the following type: