You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository has been archived by the owner on Jul 5, 2024. It is now read-only.
warning SYSLIB0014: 'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
Do you have any plans to remove the WebClient und use HttpClient in FileDownloader.cs instead?
Best,
Andreas
The text was updated successfully, but these errors were encountered:
I will leave FileDownloader as-is, accepting a WebClient (for backwards compatibility) but it is on my list to create a HttpClientFileDownloader class which will be used by default. Also, the Utility.CreateWebClient() function should return a HttpClientFileDownloader instead of a WebClient.
Would also accept a PR if you are willing to look at it
caesay
changed the title
Improvement: Replace WebClient with HttpClient in FileDownloader
Replace WebClient with HttpClient in FileDownloader
Jan 5, 2022
Hi Casey,
warning SYSLIB0014: 'WebClient.WebClient()' is obsolete: 'WebRequest, HttpWebRequest, ServicePoint, and WebClient are obsolete. Use HttpClient instead.'
Do you have any plans to remove the WebClient und use HttpClient in FileDownloader.cs instead?
Best,
Andreas
The text was updated successfully, but these errors were encountered: