Expand description
The canonical shared vocabulary.
Every type named here has exactly ONE definition and ONE home. This module exists
because eleven module designs were produced in parallel against a drifting vocabulary
and invented thirteen names for five concepts (Proto/ProxyType/NegotiatorKind,
ProxyError/ProxyFailure, AnonLevel/Anonymity, Stream×2, JudgePool×2,
Scheme×2, JudgeScheme×2). See docs/systematic-refactor/map.md §Critique.
Rule: if a type is used by more than one module, it is defined here or re-exported from here. No module invents a local spelling of a shared concept.
Structs§
- Caps
- A proxy’s capability profile (A4): which of our test-request headers it forwarded to the judge unmodified. CONNECT:25 support is derived from the confirmed types, not stored here.
- Parse
Proto Error - Python raises a bare
KeyErrorfromNGTRS[proto]; this makes the failure typed. - Type
Spec - One requested protocol, optionally narrowed to specific anonymity levels.
Enums§
- Anon
Level - How much the proxy reveals about the client. Ordered worst → best, so
level >= AnonLevel::Anonymousis a meaningful filter. - Judge
Scheme - Judge flavour. SMTP judges validate
CONNECT:25and are probed differently. - Proto
- A proxy protocol. The closed set of six, matching Python’s
NGTRSdict keys. - Scheme
- Transport scheme for a request through a proxy.