Class: Quic::Settings
- Inherits:
-
Data
- Object
- Data
- Quic::Settings
- Defined in:
- lib/quic/settings.rb,
lib/quic/settings.rb
Instance Attribute Summary collapse
-
#alpn ⇒ Object
readonly
Returns the value of attribute alpn.
-
#cc_algo ⇒ Object
readonly
Returns the value of attribute cc_algo.
-
#handshake_timeout ⇒ Object
readonly
Returns the value of attribute handshake_timeout.
-
#initial_rtt ⇒ Object
readonly
Returns the value of attribute initial_rtt.
-
#max_stream_window ⇒ Object
readonly
Returns the value of attribute max_stream_window.
-
#max_window ⇒ Object
readonly
Returns the value of attribute max_window.
-
#no_pmtud ⇒ Object
readonly
Returns the value of attribute no_pmtud.
Class Method Summary collapse
Instance Attribute Details
#alpn ⇒ Object (readonly)
Returns the value of attribute alpn
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def alpn @alpn end |
#cc_algo ⇒ Object (readonly)
Returns the value of attribute cc_algo
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def cc_algo @cc_algo end |
#handshake_timeout ⇒ Object (readonly)
Returns the value of attribute handshake_timeout
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def handshake_timeout @handshake_timeout end |
#initial_rtt ⇒ Object (readonly)
Returns the value of attribute initial_rtt
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def initial_rtt @initial_rtt end |
#max_stream_window ⇒ Object (readonly)
Returns the value of attribute max_stream_window
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def max_stream_window @max_stream_window end |
#max_window ⇒ Object (readonly)
Returns the value of attribute max_window
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def max_window @max_window end |
#no_pmtud ⇒ Object (readonly)
Returns the value of attribute no_pmtud
4 5 6 |
# File 'lib/quic/settings.rb', line 4 def no_pmtud @no_pmtud end |
Class Method Details
.default ⇒ Object
15 16 17 18 19 20 21 22 23 24 25 |
# File 'lib/quic/settings.rb', line 15 def self.default new( cc_algo: :cubic, initial_rtt: 333_000_000, max_window: 0, max_stream_window: 0, handshake_timeout: 10_000_000_000, no_pmtud: false, alpn: [] ) end |