Skip to content
Docs Try Aspire

IResourceWithEndpoints.withHttpsEndpoint

Method
📦 Aspire.Hosting v13.2.0-preview.1.26159.1
interface IResourceWithEndpoints {
// ... omitted for brevity
withHttpsEndpoint(
port?: number,
targetPort?: number,
name?: string,
env?: string,
isProxied?: boolean): IResourceWithEndpoints;
}

Signature

method withHttpsEndpoint builder
Adds an HTTPS endpoint
withHttpsEndpoint(
port?: number,
targetPort?: number,
name?: string,
env?: string,
isProxied?: boolean): IResourceWithEndpoints
port number optional
targetPort number optional
name string optional
env string optional
isProxied boolean optional = True
IResourceWithEndpoints

Defined on

This method is defined on the following type: