Options
All
  • Public
  • Public/Protected
  • All
Menu

Class ReservedDomains

Reserved Domains are hostnames that you can listen for traffic on. Domains can be used to listen for http, https or tls traffic. You may use a domain that you own by creating a CNAME record specified in the returned resource. This CNAME record points traffic for that domain to ngrok's edge servers.

Hierarchy

  • ReservedDomains

Index

Constructors

constructor

  • Do not construct this object directly, use the reservedDomains property of an Ngrok client object instead.

    Parameters

    • httpClient: Wretcher

    Returns ReservedDomains

Methods

create

delete

  • delete(arg: Item): Promise<void>
  • Delete a reserved domain.

    Parameters

    Returns Promise<void>

deleteCertificate

  • deleteCertificate(arg: Item): Promise<void>
  • Detach the certificate attached to a reserved domain.

    Parameters

    Returns Promise<void>

deleteCertificateManagementPolicy

  • deleteCertificateManagementPolicy(arg: Item): Promise<void>
  • Detach the certificate management policy attached to a reserved domain.

    Parameters

    Returns Promise<void>

deleteHttpEndpointConfig

  • deleteHttpEndpointConfig(arg: Item): Promise<void>
  • Detach the http endpoint configuration attached to a reserved domain.

    Parameters

    Returns Promise<void>

deleteHttpsEndpointConfig

  • deleteHttpsEndpointConfig(arg: Item): Promise<void>
  • Detach the https endpoint configuration attached to a reserved domain.

    Parameters

    Returns Promise<void>

get

  • Get the details of a reserved domain.

    Parameters

    Returns Promise<ReservedDomain>

list

  • List all reserved domains on this account.

    Returns Promise<ReservedDomain[]>

update

Generated using TypeDoc