9 references to Count
System.Net.Http (9)
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http1.cs (4)
113
if (_http11RequestQueue.
Count
!= 0)
132
_http11RequestQueueIsEmptyAndNotDisposed = _http11RequestQueue.
Count
== 0 && !_disposed;
227
_http11RequestQueue.
Count
> _pendingHttp11ConnectionCount && // More requests queued than pending connections
233
Trace($"Available HTTP/1.1 connections: {_http11Connections.Count}, Requests in the queue: {_http11RequestQueue.
Count
}, " +
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http2.cs (2)
148
_http2RequestQueue.
Count
> 0 && // There are requests left on the queue
156
$"Requests in the queue: {_http2RequestQueue.
Count
}, " +
System\Net\Http\SocketsHttpHandler\ConnectionPool\HttpConnectionPool.Http3.cs (2)
214
_http3RequestQueue.
Count
> 0 && // There are requests left on the queue
222
$"Requests in the queue: {_http3RequestQueue.
Count
}, " +
System\Net\Http\SocketsHttpHandler\ConnectionPool\RequestQueue.cs (1)
146
if (
Count
!= 0)