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
- .client(peer, settings = CLIENT_SETTINGS) ⇒ Object
- .names ⇒ Object
- .server(peer, settings = SERVER_SETTINGS) ⇒ Object
Class Method Details
.client(peer, settings = CLIENT_SETTINGS) ⇒ Object
81 82 83 |
# File 'lib/async/http/protocol/http2.rb', line 81 def self.client(peer, settings = CLIENT_SETTINGS) HTTP2.client(peer, settings) end |
.names ⇒ Object
89 90 91 |
# File 'lib/async/http/protocol/http2.rb', line 89 def self.names HTTP2.names end |
.server(peer, settings = SERVER_SETTINGS) ⇒ Object
85 86 87 |
# File 'lib/async/http/protocol/http2.rb', line 85 def self.server(peer, settings = SERVER_SETTINGS) HTTP2.server(peer, settings) end |