Serialized native HTTP/3 ownership with bounded operations, demand and continuations.
With resumption: %{early: early?} (beta) the owner dials through the shared
HTTP.HTTP3.Resumption endpoint of its partition and records the peer
SETTINGS it receives there. When early? is true, the connection offers
0-RTT and SETTINGS are remembered for the partition, await_ready(owner, timeout, :early) returns before the handshake completes and opens marked
early_data: true are admitted as early requests; other opens wait for the
handshake. An early open that the session cannot admit is queued for the
handshake instead. Opens marked connection_info: true receive a
{:connection_info, %{resumed: boolean, early_data: boolean}} event before
their response headers.
Summary
Functions
Returns a specification to start this module under a supervisor.
Migrates the exclusive connection carrying request ref to local (beta).
Retires every request and queued open of subscriber, then reports settlement.
Runs one WebTransport operation for the accepted webtransport-h3 CONNECT ref.
Releases owner delivery credit retained for a WT event receipt.
Functions
Returns a specification to start this module under a supervisor.
See Supervisor.
Migrates the exclusive connection carrying request ref to local (beta).
Only the sole subscriber of an exclusive owner whose QUIC endpoint is owned
by this connection may call. Shared or pooled owners refuse with
:not_exclusive_owner, owners dialled through a shared resumption endpoint
with :shared_endpoint, and an owner that is not ready with :not_ready.
timeout is an absolute deadline from now that also bounds path validation.
Returns the engine admission {:ok, migration_ref} or {:error, reason};
the outcome is later delivered to the subscriber as
{:http3, generation, ref, {:migration, migration_ref, {:ok, actual_local} | {:error, reason}}}. At most one migration is outstanding per owner.
Retires every request and queued open of subscriber, then reports settlement.
Returns :settled only when no demux entry, native session request among
refs, or queued/pending/suspended action remains for that subscriber.
Otherwise returns {:pending, refs}, including any refs retired by this call.
Runs one WebTransport operation for the accepted webtransport-h3 CONNECT ref.
Only that CONNECT's subscriber may call. Operations are serialized with all
other native work under the absolute deadline timeout from now and are never
replayed: {:open, :bidi | :uni} returns {:ok, stream_key}; {:send, key, bytes, fin}, {:reset, key, code}, {:stop, key, code}, {:datagram, bytes} and {:close, code, reason} return :ok. :info reads the session
identity and DATAGRAM payload limit.
Releases owner delivery credit retained for a WT event receipt.