# frozen_string_literal: truerequire'seahorse/client/h2/handler'moduleSeahorsemoduleClientmodulePluginsclassH2<Plugin# H2 Clientoption(:max_concurrent_streams,default: 100,doc_type: Integer,docstring: <<-DOCS)
Maximum concurrent streams used in HTTP2 connection, defaults to 100. Note that server may send back
:settings_max_concurrent_streams value which will take priority when initializing new streams.
DOCSoption(:connection_timeout,default: 60,doc_type: Integer,docstring: <<-DOCS)
Connection timeout in seconds, defaults to 60 sec.
DOCSoption(:connection_read_timeout,default: 60,doc_type: Integer,docstring: <<-DOCS)
Connection read timeout in seconds, defaults to 60 sec.
DOCSoption(:read_chunk_size,default: 1024,doc_type: Integer,docstring: '')option(:raise_response_errors,default: true,doc_type: 'Boolean',docstring: <<-DOCS)
Defaults to `true`, raises errors if exist when #wait or #join! is called upon async response.
DOCS# SSL Contextoption(:ssl_ca_bundle,default: nil,doc_type: String,docstring: <<-DOCS)do|cfg|
Full path to the SSL certificate authority bundle file that should be used when
verifying peer certificates. If you do not pass `:ssl_ca_directory` or `:ssl_ca_bundle`
the system default will be used if available.
DOCSENV['AWS_CA_BUNDLE']||Aws.shared_config.ca_bundle(profile: cfg.profile)ifcfg.respond_to?(:profile)endoption(:ssl_ca_directory,default: nil,doc_type: String,docstring: <<-DOCS)
Full path of the directory that contains the unbundled SSL certificate authority
files for verifying peer certificates. If you do not pass `:ssl_ca_bundle` or
`:ssl_ca_directory` the system default will be used if available.
DOCSoption(:ssl_ca_store,default: nil,doc_type: String,docstring: '')option(:ssl_verify_peer,default: true,doc_type: 'Boolean',docstring: <<-DOCS)
When `true`, SSL peer certificates are verified when establishing a connection.
DOCSoption(:http_wire_trace,default: false,doc_type: 'Boolean',docstring: <<-DOCS)
When `true`, HTTP2 debug output will be sent to the `:logger`.
DOCSoption(:enable_alpn,default: false,doc_type: 'Boolean',docstring: <<-DOCS)
Set to `true` to enable ALPN in HTTP2 over TLS. Requires Openssl version >= 1.0.2.
Defaults to false. Note: not all service HTTP2 operations supports ALPN on server
side, please refer to service documentation.
DOCSoption(:logger)handler(Client::H2::Handler,step: :send)endendendend