Method: Protocol::HTTP2::PendingSettings#acknowledge
- Defined in:
- lib/protocol/http2/settings_frame.rb
#acknowledge ⇒ Object
180 181 182 183 184 185 186 187 188 |
# File 'lib/protocol/http2/settings_frame.rb', line 180 def acknowledge if changes = @queue.shift @current.update(changes) return changes else raise ProtocolError, "Cannot acknowledge settings, no changes pending" end end |