This plugin adds support for HTTP/2 Push responses.
In order to benefit from this, requests are sent one at a time, so that no push responses are received after corresponding request has been sent.
Classes and Modules
Public Class methods
extra_options(options)
[show source]
# File lib/httpx/plugins/push_promise.rb 14 def self.extra_options(options) 15 options.merge(http2_settings: { settings_enable_push: 1 }, 16 max_concurrent_requests: 1) 17 end