mirror of
https://github.com/puppeteer/puppeteer
synced 2024-06-14 14:02:48 +00:00
docs: fix NetworkConditions descriptions (#11843)
This commit is contained in:
parent
c5cee0e37d
commit
799058cc7b
@ -13,7 +13,7 @@ export interface NetworkConditions
|
|||||||
## Properties
|
## Properties
|
||||||
|
|
||||||
| Property | Modifiers | Type | Description | Default |
|
| Property | Modifiers | Type | Description | Default |
|
||||||
| -------- | --------- | ------ | ----------- | ------- |
|
| -------- | --------- | ------ | ------------------------ | ------- |
|
||||||
| download | | number | | |
|
| download | | number | Download speed (bytes/s) | |
|
||||||
| latency | | number | | |
|
| latency | | number | Latency (ms) | |
|
||||||
| upload | | number | | |
|
| upload | | number | Upload speed (bytes/s) | |
|
||||||
|
@ -36,11 +36,17 @@ export interface Credentials {
|
|||||||
* @public
|
* @public
|
||||||
*/
|
*/
|
||||||
export interface NetworkConditions {
|
export interface NetworkConditions {
|
||||||
// Download speed (bytes/s)
|
/**
|
||||||
|
* Download speed (bytes/s)
|
||||||
|
*/
|
||||||
download: number;
|
download: number;
|
||||||
// Upload speed (bytes/s)
|
/**
|
||||||
|
* Upload speed (bytes/s)
|
||||||
|
*/
|
||||||
upload: number;
|
upload: number;
|
||||||
// Latency (ms)
|
/**
|
||||||
|
* Latency (ms)
|
||||||
|
*/
|
||||||
latency: number;
|
latency: number;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user