Header menu logo fable-electron-docs-api

Options Type

Constructors

Constructor Description

Options(?offline, ?latency, ?downloadThroughput, ?uploadThroughput)

Full Usage: Options(?offline, ?latency, ?downloadThroughput, ?uploadThroughput)

Parameters:
    ?offline : bool - Whether to emulate network outage. Defaults to false.
    ?latency : double - RTT in ms. Defaults to 0 which will disable latency throttling.
    ?downloadThroughput : double - Download rate in Bps. Defaults to 0 which will disable download throttling.
    ?uploadThroughput : double - Upload rate in Bps. Defaults to 0 which will disable upload throttling.

Returns: Options
?offline : bool

Whether to emulate network outage. Defaults to false.

?latency : double

RTT in ms. Defaults to 0 which will disable latency throttling.

?downloadThroughput : double

Download rate in Bps. Defaults to 0 which will disable download throttling.

?uploadThroughput : double

Upload rate in Bps. Defaults to 0 which will disable upload throttling.

Returns: Options

Instance members

Instance member Description

this.downloadThroughput

Full Usage: this.downloadThroughput

Download rate in Bps. Defaults to 0 which will disable download throttling.

this.latency

Full Usage: this.latency

RTT in ms. Defaults to 0 which will disable latency throttling.

this.offline

Full Usage: this.offline

Whether to emulate network outage. Defaults to false.

this.uploadThroughput

Full Usage: this.uploadThroughput

Upload rate in Bps. Defaults to 0 which will disable upload throttling.

Type something to start searching.