Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

download file callbacks #2172

Open
JiaoZaiShiJie opened this issue Mar 7, 2024 · 5 comments
Open

download file callbacks #2172

JiaoZaiShiJie opened this issue Mar 7, 2024 · 5 comments

Comments

@JiaoZaiShiJie
Copy link

Don't you support download file callbacks? Downloaded file size. Progress. HttpClient Support

@alexeyzimarev
Copy link
Member

alexeyzimarev commented Apr 2, 2024

HttpClient Support

What does this ☝️ mean?

@JiaoZaiShiJie
Copy link
Author

The HttpClient supports ProgressMessageHandler, which allows me to get the number of bytes sent and received, as well as the total number of bytes, to calculate and update the current download progress

@alexeyzimarev
Copy link
Member

You can use ProgressMessageHandler with RestSharp as well.

@JiaoZaiShiJie
Copy link
Author

Thank you very much for your answer, at the moment it says I do but restsharp might be even better if provided well

@JiaoZaiShiJie
Copy link
Author

I have been using restsharp for many years now, and thank you very much, although there are other libraries out there, I still like it

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

2 participants