Module: Async::HTTP::Protocol::HTTP2::WithPush

Defined in:
lib/async/http/protocol/http2.rb

Constant Summary collapse

CLIENT_SETTINGS =
HTTP2::CLIENT_SETTINGS.merge(
  ::Protocol::HTTP2::Settings::ENABLE_PUSH => 1,
)

Class Method Summary collapse

Class Method Details

.client(peer, settings = CLIENT_SETTINGS) ⇒ Object



79
80
81
# File 'lib/async/http/protocol/http2.rb', line 79

def self.client(peer, settings = CLIENT_SETTINGS)
  HTTP2.client(peer, settings)
end

.namesObject



87
88
89
# File 'lib/async/http/protocol/http2.rb', line 87

def self.names
  HTTP2.names
end

.server(peer, settings = SERVER_SETTINGS) ⇒ Object



83
84
85
# File 'lib/async/http/protocol/http2.rb', line 83

def self.server(peer, settings = SERVER_SETTINGS)
  HTTP2.server(peer, settings)
end