Pure HTTP/2 connection state and protocol effects.
Summary
Functions
Restores receive credit after wire bytes have been consumed or safely buffered.
Commits a complete header block as one non-interleavable effect batch.
Consumes inbound DATA wire credit without replenishing it.
Consumes connection and stream send credit and returns one DATA effect.
Sends at most the currently eligible DATA prefix and returns the remainder.
Types
@type t() :: %HTTP.HTTP2.Connection{ committed: term(), connection_receive_window: term(), connection_send_window: term(), connection_unacknowledged: term(), decoder: term(), encoder: term(), encoder_options: term(), goaway_last_stream_id: term(), header_block: term(), local: term(), max_streams: term(), next_stream_id: term(), peer: term(), pending_headers: term(), priorities: term(), promised: term(), state: term(), streams: term() }
Functions
Restores receive credit after wire bytes have been consumed or safely buffered.
Commits a complete header block as one non-interleavable effect batch.
Consumes inbound DATA wire credit without replenishing it.
Consumes connection and stream send credit and returns one DATA effect.
Sends at most the currently eligible DATA prefix and returns the remainder.