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(stream, settings = CLIENT_SETTINGS) ⇒ Object
- .names ⇒ Object
- .server(stream, settings = SERVER_SETTINGS) ⇒ Object
Class Method Details
.client(stream, settings = CLIENT_SETTINGS) ⇒ Object
75 76 77 |
# File 'lib/async/http/protocol/http2.rb', line 75 def self.client(stream, settings = CLIENT_SETTINGS) HTTP2.client(stream, settings) end |
.names ⇒ Object
83 84 85 |
# File 'lib/async/http/protocol/http2.rb', line 83 def self.names HTTP2.names end |
.server(stream, settings = SERVER_SETTINGS) ⇒ Object
79 80 81 |
# File 'lib/async/http/protocol/http2.rb', line 79 def self.server(stream, settings = SERVER_SETTINGS) HTTP2.server(stream, settings) end |