Some checks failed
Build & Deploy / 🔍 Prepare (push) Successful in 20s
Build & Deploy / 🧪 QA (push) Failing after 34s
Build & Deploy / 🏗️ Build (push) Has started running
Build & Deploy / 🚀 Deploy (push) Has been cancelled
Build & Deploy / 🧪 Smoke Test (push) Has been cancelled
Build & Deploy / ⚡ Lighthouse (push) Has been cancelled
Build & Deploy / 🔔 Notify (push) Has been cancelled
28 lines
522 B
Plaintext
28 lines
522 B
Plaintext
# Class: ClientStats
|
|
|
|
Stats for a [Client](/docs/docs/api/Client.md).
|
|
|
|
## `new ClientStats(client)`
|
|
|
|
Arguments:
|
|
|
|
* **client** `Client` - Client from which to return stats.
|
|
|
|
## Instance Properties
|
|
|
|
### `ClientStats.connected`
|
|
|
|
Boolean if socket as open connection by this client.
|
|
|
|
### `ClientStats.pending`
|
|
|
|
Number of pending requests of this client.
|
|
|
|
### `ClientStats.running`
|
|
|
|
Number of currently active requests across this client.
|
|
|
|
### `ClientStats.size`
|
|
|
|
Number of active, pending, or queued requests of this clients.
|