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

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

#empty?Boolean

Returns:

  • (Boolean)


97
98
99
# File 'lib/httpx/connection/http2.rb', line 97

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