SteveHanna / Namecheap-dot-net

A .NET wrapper for the Namecheap API
MIT License
17 stars 13 forks source link

Use HttpClient over WebClient #10

Open philipmat opened 5 years ago

philipmat commented 5 years ago

Among other things, HttpClient allows mocking, which we could use because creating new domain each test run doesn't work well even in the sandbox.

https://stackoverflow.com/questions/20530152/deciding-between-httpclient-and-webclient