Options
All
  • Public
  • Public/Protected
  • All
Menu

Class WeightedBackends

A Weighted Backend balances traffic among the referenced backends. Traffic is assigned proportionally to each based on its weight. The percentage of traffic is calculated by dividing a backend's weight by the sum of all weights.

Hierarchy

  • WeightedBackends

Index

Constructors

Methods

Constructors

constructor

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

    Parameters

    • httpClient: Wretcher

    Returns WeightedBackends

Methods

create

delete

  • delete(arg: Item): Promise<void>
  • Delete a Weighted backend by ID.

    Parameters

    Returns Promise<void>

get

list

update

Generated using TypeDoc