Class: Quic::TransportParams

Inherits:
Data
  • Object
show all
Defined in:
lib/quic/transport_params.rb,
lib/quic/transport_params.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#active_connection_id_limitObject (readonly)

Returns the value of attribute active_connection_id_limit

Returns:

  • (Object)

    the current value of active_connection_id_limit



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def active_connection_id_limit
  @active_connection_id_limit
end

#initial_max_dataObject (readonly)

Returns the value of attribute initial_max_data

Returns:

  • (Object)

    the current value of initial_max_data



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_data
  @initial_max_data
end

#initial_max_stream_data_bidi_localObject (readonly)

Returns the value of attribute initial_max_stream_data_bidi_local

Returns:

  • (Object)

    the current value of initial_max_stream_data_bidi_local



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_stream_data_bidi_local
  @initial_max_stream_data_bidi_local
end

#initial_max_stream_data_bidi_remoteObject (readonly)

Returns the value of attribute initial_max_stream_data_bidi_remote

Returns:

  • (Object)

    the current value of initial_max_stream_data_bidi_remote



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_stream_data_bidi_remote
  @initial_max_stream_data_bidi_remote
end

#initial_max_stream_data_uniObject (readonly)

Returns the value of attribute initial_max_stream_data_uni

Returns:

  • (Object)

    the current value of initial_max_stream_data_uni



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_stream_data_uni
  @initial_max_stream_data_uni
end

#initial_max_streams_bidiObject (readonly)

Returns the value of attribute initial_max_streams_bidi

Returns:

  • (Object)

    the current value of initial_max_streams_bidi



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_streams_bidi
  @initial_max_streams_bidi
end

#initial_max_streams_uniObject (readonly)

Returns the value of attribute initial_max_streams_uni

Returns:

  • (Object)

    the current value of initial_max_streams_uni



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def initial_max_streams_uni
  @initial_max_streams_uni
end

#max_idle_timeoutObject (readonly)

Returns the value of attribute max_idle_timeout

Returns:

  • (Object)

    the current value of max_idle_timeout



4
5
6
# File 'lib/quic/transport_params.rb', line 4

def max_idle_timeout
  @max_idle_timeout
end

Class Method Details

.defaultObject



16
17
18
19
20
21
22
23
24
25
26
27
# File 'lib/quic/transport_params.rb', line 16

def self.default
  new(
    initial_max_stream_data_bidi_local: 262_144,
    initial_max_stream_data_bidi_remote: 262_144,
    initial_max_stream_data_uni: 262_144,
    initial_max_data: 1_048_576,
    initial_max_streams_bidi: 100,
    initial_max_streams_uni: 100,
    max_idle_timeout: 30_000_000_000,
    active_connection_id_limit: 7
  )
end