Module: HTTP::Protocol::HTTP2
- Defined in:
- lib/http/protocol/http2/frame.rb,
lib/http/protocol/http2/client.rb,
lib/http/protocol/http2/framer.rb,
lib/http/protocol/http2/padded.rb,
lib/http/protocol/http2/server.rb,
lib/http/protocol/http2/stream.rb,
lib/http/protocol/http2/connection.rb,
lib/http/protocol/http2/data_frame.rb,
lib/http/protocol/http2/ping_frame.rb,
lib/http/protocol/http2/flow_control.rb,
lib/http/protocol/http2/goaway_frame.rb,
lib/http/protocol/http2/headers_frame.rb,
lib/http/protocol/http2/priority_frame.rb,
lib/http/protocol/http2/settings_frame.rb,
lib/http/protocol/http2/continuation_frame.rb,
lib/http/protocol/http2/push_promise_frame.rb,
lib/http/protocol/http2/reset_stream_frame.rb,
lib/http/protocol/http2/window_update_frame.rb
Defined Under Namespace
Modules: Acknowledgement, Continued, FlowControl, Padded Classes: Client, Connection, ContinuationFrame, DataFrame, Frame, Framer, GoawayFrame, HeadersFrame, PendingSettings, PingFrame, Priority, PriorityFrame, PushPromiseFrame, ResetStreamFrame, Server, Settings, SettingsFrame, Stream, Window, WindowUpdateFrame
Constant Summary collapse
- END_STREAM =
0x1
- END_HEADERS =
0x4
- PADDED =
0x8
- PRIORITY =
0x20
- FRAMES =
HTTP/2 frame type mapping as defined by the spec
[ DataFrame, HeadersFrame, PriorityFrame, ResetStreamFrame, SettingsFrame, PushPromiseFrame, PingFrame, GoawayFrame, WindowUpdateFrame, ContinuationFrame, ].freeze
- CONNECTION_PREFACE_MAGIC =
Default connection “fast-fail” preamble string as defined by the spec.
"PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".freeze
- ACKNOWLEDGEMENT =
0x1
- NO_ERROR =
0
- PROTOCOL_ERROR =
1
- INTERNAL_ERROR =
2
- FLOW_CONTROL_ERROR =
3
- TIMEOUT =
4
- STREAM_CLOSED =
5
- FRAME_SIZE_ERROR =
6
- REFUSED_STREAM =
7
- CANCEL =
8
- COMPRESSION_ERROR =
9
- CONNECT_ERROR =
10
- ENHANCE_YOUR_CALM =
11
- INADEQUATE_SECURITY =
12
- HTTP_1_1_REQUIRED =
13