Skip to content
DocsTry Aspire
DocsTry

IResourceWithEndpoints.withHttpsEndpoint

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

Signature

methodwithHttpsEndpointbuilder
Adds an HTTPS endpoint
withHttpsEndpoint(
port?: number,
targetPort?: number,
name?: string,
env?: string,
isProxied?: boolean): IResourceWithEndpoints
portnumberoptional
targetPortnumberoptional
namestringoptional
envstringoptional
isProxiedbooleanoptional
IResourceWithEndpoints

Defined on

This method is defined on the following type: