Method: HTTPX::Connection::HTTP2#can_buffer_more_requests?
- Defined in:
- lib/httpx/connection/http2.rb
#can_buffer_more_requests? ⇒ Boolean (private)
168 169 170 171 172 |
# File 'lib/httpx/connection/http2.rb', line 168 def can_buffer_more_requests? (@handshake_completed || !@wait_for_handshake) && @streams.size < @max_concurrent_requests && @streams.size < @max_requests end |