Module: HTTPX::Plugins::H2C::FrameBuilder

Includes:
HTTP2
Defined in:
lib/httpx/plugins/h2c.rb

Class Method Summary collapse

Class Method Details

.settings_value(settings) ⇒ Object


118
119
120
121
# File 'lib/httpx/plugins/h2c.rb', line 118

def settings_value(settings)
  frame = Framer.new.generate(type: :settings, stream: 0, payload: settings)
  Base64.urlsafe_encode64(frame[9..-1])
end