Expand description
Extension namespace registry and unknown-message classification (RFC §21).
Two responsibilities live here:
- Namespace validation via
is_extension_name. Extension names follow one of two forms:arcpx.<vendor-or-domain>.<name>.v<n>(recommended) or a reverse-DNS prefix such ascom.acme.workflow.v2. - Type classification. Given a wire-level
typestring, what should a receiver do?classify_typereturns aTypeClassificationthat drives the dispatch decision per §21.3.
The bare x- prefix is reserved for transport-internal experimental
fields and MUST NOT appear on long-lived deployments. We accept it for
parsing but classify it as TypeClassification::ReservedExperimental.
Structs§
- Extension
Registry - Per-session/runtime registry of advertised extension names (§7, §21.2).
Enums§
- Type
Classification - What a receiver should do with a wire-level message
typestring.
Functions§
- classify_
type - Classify a wire-level
typestring against the empty registry. - is_
core_ type - True if
type_nameis one of the core protocol types from RFC §6.2. - is_
extension_ name - True if
namefollows the §21.1 extension naming rules.