Reputation: 83
I recently switched to HttpClient
from HttpWebRequest
, and it seems that HttpClient
has only the normal timeout property. I can't find any property that represents the timeout of reading/writing. I can't find it in HttpClient
or in HttpClientHandler
.
Upvotes: 5
Views: 1028
Reputation: 25351
The purpose of the HttpClient
class is to provide a higher level functionality, with the intention of making it easier to use. If you need a more granular functionality you need to use the lower level classes like HttpWebRequest
.
Upvotes: 3