H
H
HellYeahOmg2020-05-21 19:12:55
JavaScript
HellYeahOmg, 2020-05-21 19:12:55

How to limit file download speed in node.js?

It is necessary to limit the speed of downloading files on the client via http.
At the moment, files are downloaded using the request client, but this is not important.
How can this be implemented? I tried the throttle lib, which indirectly limits the download speed, but it somehow works crookedly.

Answer the question

In order to leave comments, you need to log in

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question