anaisbetts / ModernHttpClient

HttpClient implementations that use platform-native HTTP clients for :rocket:
MIT License
659 stars 261 forks source link

RegisterForProgress for all Requests #238

Open DOliana opened 7 years ago

DOliana commented 7 years ago

I would like to have a version of RegisterForProgress that allows to add a handler for all requests. In my project I have a central point, where the HttpClient is created (adding authentication, Base Webservice URL and so on). At this point I do not know the request-URL yet, but I would like to be able to add the Handler to track the progress.

Could you add a Version of RegisterForProgress to HttpRequestMessage which only has the ProgressDelegate as a Parameter?

vhugogarcia commented 6 years ago

I am facing the same issue @DOliana did you manage to make it work?

DOliana commented 6 years ago

@vhugogarcia : Sadly no. I have not worked on it since then though.