2 writes to _timeout
System.Net.Http (2)
System\Net\Http\HttpClient.cs (2)
111
_timeout
= value;
148
_timeout
= s_defaultTimeout;
5 references to _timeout
System.Net.Http (5)
System\Net\Http\HttpClient.cs (5)
102
get =>
_timeout
;
612
Debug.Assert(
_timeout
.TotalSeconds > 0);
613
e = toThrow = new TaskCanceledException(SR.Format(SR.net_http_request_timedout,
_timeout
.TotalSeconds), new TimeoutException(e.Message, e), oce.CancellationToken);
802
bool hasTimeout =
_timeout
!= s_infiniteTimeout;
808
cts.CancelAfter(
_timeout
);