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



85
86
87
# File 'lib/async/http/protocol/http2.rb', line 85

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

.namesObject



93
94
95
# File 'lib/async/http/protocol/http2.rb', line 93

def self.names
	HTTP2.names
end

.server(peer, settings = SERVER_SETTINGS) ⇒ Object



89
90
91
# File 'lib/async/http/protocol/http2.rb', line 89

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