Module: HTTP2

Defined in:
lib/http/2/huffman_statemachine.rb,
lib/http/2/error.rb,
lib/http/2/buffer.rb,
lib/http/2/client.rb,
lib/http/2/framer.rb,
lib/http/2/server.rb,
lib/http/2/stream.rb,
lib/http/2/emitter.rb,
lib/http/2/huffman.rb,
lib/http/2/version.rb,
lib/http/2/compressor.rb,
lib/http/2/connection.rb,
lib/http/2/flow_buffer.rb

Overview

The following task generates this file.

rake generate_huffman_table

Defined Under Namespace

Modules: Emitter, Error, FlowBuffer, Header Classes: Buffer, Client, Connection, Framer, Server, Stream

Constant Summary

VERSION =
'0.9.0'.freeze
DEFAULT_FLOW_WINDOW =

Default connection and stream flow control window (64KB).

65_535
DEFAULT_HEADER_SIZE =

Default header table size

4096
DEFAULT_MAX_CONCURRENT_STREAMS =

Default stream_limit

100
SPEC_DEFAULT_CONNECTION_SETTINGS =

Default values for SETTINGS frame, as defined by the spec.

{
  settings_header_table_size:       4096,
  settings_enable_push:             1,                     # enabled for servers
  settings_max_concurrent_streams:  Framer::MAX_STREAM_ID, # unlimited
  settings_initial_window_size:     65_535,
  settings_max_frame_size:          16_384,
  settings_max_header_list_size:    2**31 - 1,             # unlimited
}.freeze
DEFAULT_CONNECTION_SETTINGS =
{
  settings_header_table_size:       4096,
  settings_enable_push:             1,     # enabled for servers
  settings_max_concurrent_streams:  100,
  settings_initial_window_size:     65_535, #
  settings_max_frame_size:          16_384,
  settings_max_header_list_size:    2**31 - 1,             # unlimited
}.freeze
DEFAULT_WEIGHT =

Default stream priority (lower values are higher priority).

16
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