Closed nesk closed 6 years ago
The client should support requesting static files for download mesures, a possible API could be:
new Network({ download: { endpoint: [ './static-file-1', './static-file-2', './static-file-3', './static-file-4' ] } });
This way, the download measure will start by requesting ./static-file-1, if the measure isn't complete, it will request the second file, etc…
Network.js will provide a cli to generate a file with a specific size:
$ npm install -g network-js $ network-js 5 ----- $ network-js 5 --content="0" 00000 $ network-js 5 data/output-file-1 $ network-js 10 data/output-file-2
Stale issue
The client should support requesting static files for download mesures, a possible API could be:
This way, the download measure will start by requesting ./static-file-1, if the measure isn't complete, it will request the second file, etc…
Network.js will provide a cli to generate a file with a specific size: