Options
All
  • Public
  • Public/Protected
  • All
Menu

Tunnels provide endpoints to access services exposed by a running ngrok agent tunnel session or an SSH reverse tunnel session.

Hierarchy

  • Tunnels

Index

Constructors

Methods

Constructors

constructor

  • new Tunnels(httpClient: Wretcher): Tunnels
  • Do not construct this object directly, use the tunnels property of an Ngrok client object instead.

    Parameters

    • httpClient: Wretcher

    Returns Tunnels

Methods

get

  • get(id: any): Promise<Tunnel>

list

  • list(beforeId?: string, limit?: string): Promise<Tunnel[]>
  • List all online tunnels currently running on the account.

    Parameters

    • Optional beforeId: string
    • Optional limit: string

    Returns Promise<Tunnel[]>

Generated using TypeDoc