How can I throttle uploads in Node.js / Express 4? -


i throttle file uploads in express 4. mean bytes per second, not number of api calls.

i want able simulate slow connection file uploads can test out progress animations.

i want limit file upload endpoint , not other endpoints. how can this?

ideally, i'd add middleware on specific endpoint , specify transfer speed in bytes/s.

if on osx , interested in occasional testing (as opposed standardized test response) i'd take @ apple network link conditioner. here's info.

also appears recent versions of chromium , assume chrome have built in network throttling options in dev tools.


Comments

Popular posts from this blog

powershell Start-Process exit code -1073741502 when used with Credential from a windows service environment -

twig - Using Twigbridge in a Laravel 5.1 Package -

c# - LINQ join Entities from HashSet's, Join vs Dictionary vs HashSet performance -