Quic.Inspector (elixir_quic v0.16.7)

Copy Markdown View Source

Passive, bounded QUIC v1 Initial observation.

new/1 creates a flow table and ingest/2 accepts a Quic.Runtime.Datagram (or an equivalent map containing bytes, remote, generation and received_at). It only emits observation maps; it never sends protocol packets or exposes TLS secrets. Each Initial key context has an independent packet-number reconstruction window and sparse CRYPTO interval store.

Summary

Types

t()

@type t() :: %Quic.Inspector{contexts: term(), limits: term(), total_contexts: term()}

Functions

ingest(state, datagram)

@spec ingest(t(), Quic.Runtime.Datagram.t() | map()) ::
  {:ok, t(), [map()]} | {:error, term(), t()}

new(options \\ [])

@spec new(keyword()) :: {:ok, t()} | {:error, term()}