struct

HTTP2::Connection::RequestCapacity

Inherits Struct < Value < Object

A mutex-protected request-capacity snapshot.

:nodoc:

Constructors

new(state : State, registered_streams : Int32, active_client_streams : Int32, idle_client_streams : Int32, reservations : Int32, peer_limit : UInt32 | Nil, stream_ids_exhausted : Bool)
Source

Instance methods

active_client_streams
clone
Source
copy_with(state _state = @state, registered_streams _registered_streams = @registered_streams, active_client_streams _active_client_streams = @active_client_streams, idle_client_streams _idle_client_streams = @idle_client_streams, reservations _reservations = @reservations, peer_limit _peer_limit = @peer_limit, stream_ids_exhausted _stream_ids_exhausted = @stream_ids_exhausted)
Source
empty?
Source
idle_client_streams
peer_committed
Source
peer_limit
registered_streams
reservations
state
stream_ids_exhausted
zero_peer_limit?
Source