struct

HTTP2::Connection::SettingsState

Inherits Struct < Value < Object

Effective values for the SETTINGS defined by RFC 9113.

Constants

DEFAULT_HEADER_TABLE_SIZE = 4096_u32
DEFAULT_INITIAL_WINDOW_SIZE = 65535_u32
DEFAULT_MAX_FRAME_SIZE = 16384_u32
MAXIMUM_FRAME_SIZE = 16777215_u32
MAXIMUM_INITIAL_WINDOW_SIZE = 2147483647_u32

Constructors

client_defaults
Source
server_defaults
Source

Instance methods

enable_push?
Source
header_table_size
Source
initial_window_size
Source
max_concurrent_streams
Source
max_frame_size
Source
max_header_list_size
Source
with_local(entries : Enumerable(Frame::Settings::Setting)) : self

Applies settings sent by this client. Unsupported extension settings remain on the wire but do not alter this RFC 9113 state.

Source
with_peer(entries : Enumerable(Frame::Settings::Setting)) : self

Applies and validates settings received from the server.

Source