Method: Protocol::HTTP2::SettingsFrame#unpack
- Defined in:
- lib/protocol/http2/settings_frame.rb
#unpack ⇒ Object
233 234 235 236 237 238 239 240 |
# File 'lib/protocol/http2/settings_frame.rb', line 233 def unpack if buffer = super # TODO String#each_slice, or #each_unpack would be nice. buffer.scan(/....../m).map{|s| s.unpack(FORMAT)} else [] end end |