Method: HTTPX::Connection::HTTP2#empty?

Defined in:
lib/httpx/connection/http2.rb

#empty?Boolean

Returns:

  • (Boolean)


34
35
36
# File 'lib/httpx/connection/http2.rb', line 34

def empty?
  @connection.state == :closed || @streams.empty?
end