Closed henrik closed 5 years ago
It would be cool to add the download speed as well, like in the mechanize progress bar: https://github.com/kitamomonga/Mechanize-ProgressBar
@praveenperera :thumbsup: Sounds good. I also like the idea of Mechanize progress bar – I might make a httpoison_progress_bar for fun some day. Basically combining this lib with https://gist.github.com/henrik/108e5fc23b66131fc3aa, automagically showing an indeterminate bar if there's no content length.
Closing this since I don't think I'll get around to it, but if anyone else wants to, feel free!
If there's a sensible way of doing this. Maybe running the progress bar as a server? That could also enable us to have a
tick(progress_to_add)
type interface like https://github.com/tj/node-progress.