Externalizing the HttpClient internals for fun & profit

added by DotNetKicks
3/29/2017 12:49:00 PM

2 Kicks, 141 Views

In others, the API is extremely constraining. One such example is when you want to do incremental generation of the request (maybe based on other things that are going on). Using WebRequest, this is trivial, you get the request stream, and just start writing to it, but with HttpClient, the actual request stream is hidden several layers too deep to be very useful.