new ThroughputModel(config)
Throughput generally stored in kbit/s
Latency generally stored in ms
Parameters:
| Name | Type | Description |
|---|---|---|
config |
object |
Methods
-
<inner> addEntry(mediaType, httpRequest)
-
Use the provided request to add new entries for throughput and latency. Update the EWMA state as well.
Parameters:
Name Type Description mediaTypeMediaType httpRequestobject -
<inner> reset()
-
Reset all values