Class: Baykit::BayServer::Docker::Http::H2::H2Settings
- Inherits:
-
Object
- Object
- Baykit::BayServer::Docker::Http::H2::H2Settings
- Defined in:
- lib/baykit/bayserver/docker/http/h2/h2_settings.rb
Constant Summary collapse
- DEFAULT_HEADER_TABLE_SIZE =
4096- DEFAULT_ENABLE_PUSH =
true- DEFAULT_MAX_CONCURRENT_STREAMS =
-1
- DEFAULT_MAX_WINDOW_SIZE =
65535- DEFAULT_MAX_FRAME_SIZE =
16384- DEFAULT_MAX_HEADER_LIST_SIZE =
-1
Instance Attribute Summary collapse
-
#enable_push ⇒ Object
Returns the value of attribute enable_push.
-
#header_table_size ⇒ Object
Returns the value of attribute header_table_size.
-
#initial_window_size ⇒ Object
Returns the value of attribute initial_window_size.
-
#max_concurrent_streams ⇒ Object
Returns the value of attribute max_concurrent_streams.
-
#max_frame_size ⇒ Object
Returns the value of attribute max_frame_size.
-
#max_header_list_size ⇒ Object
Returns the value of attribute max_header_list_size.
Instance Method Summary collapse
-
#initialize ⇒ H2Settings
constructor
A new instance of H2Settings.
- #reset ⇒ Object
Constructor Details
#initialize ⇒ H2Settings
Returns a new instance of H2Settings.
22 23 24 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 22 def initialize reset end |
Instance Attribute Details
#enable_push ⇒ Object
Returns the value of attribute enable_push.
16 17 18 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 16 def enable_push @enable_push end |
#header_table_size ⇒ Object
Returns the value of attribute header_table_size.
15 16 17 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 15 def header_table_size @header_table_size end |
#initial_window_size ⇒ Object
Returns the value of attribute initial_window_size.
18 19 20 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 18 def initial_window_size @initial_window_size end |
#max_concurrent_streams ⇒ Object
Returns the value of attribute max_concurrent_streams.
17 18 19 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 17 def max_concurrent_streams @max_concurrent_streams end |
#max_frame_size ⇒ Object
Returns the value of attribute max_frame_size.
19 20 21 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 19 def max_frame_size @max_frame_size end |
#max_header_list_size ⇒ Object
Returns the value of attribute max_header_list_size.
20 21 22 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 20 def max_header_list_size @max_header_list_size end |
Instance Method Details
#reset ⇒ Object
26 27 28 29 30 31 32 33 |
# File 'lib/baykit/bayserver/docker/http/h2/h2_settings.rb', line 26 def reset @header_table_size = DEFAULT_HEADER_TABLE_SIZE @enable_push = DEFAULT_ENABLE_PUSH @max_concurrent_streams = DEFAULT_MAX_CONCURRENT_STREAMS @initial_window_size = DEFAULT_MAX_WINDOW_SIZE @max_frame_size = DEFAULT_MAX_FRAME_SIZE @max_header_list_size = DEFAULT_MAX_HEADER_LIST_SIZE end |