Expand description
Transport URL parsing.
Transport URLs identify a peer or listening endpoint for a multi-party protocol session:
inproc://<name>— in-process channel keyed by namemock://<name>— deterministic mock transporttcp://<host>:<port>— futureconfium-net-tcpcratetcp+tls://<host>:<port>— future TLS-wrapped TCPquic://<host>:<port>— futureconfium-net-quiccratequic4://<host>:<port>— IPv4-only QUICquic6://<host>:<port>— IPv6-only QUICws://<host>:<port>/<path>— futureconfium-net-wscratewss://<host>:<port>/<path>— future TLS-wrapped WebSocket
This module owns the list of recognized scheme names so that
adding a new transport in a separate crate does not require editing
the parser — only registering a crate::TransportKind that
advertises the scheme. Schemes not in KNOWN_SCHEMES are rejected
early with a clear error, rather than silently passing through as
“no transport registered”.
Structs§
- Transport
Url - A parsed transport URL.
Constants§
- KNOWN_
SCHEMES - Every scheme Confium knows about, built-in or reserved for a planned sibling crate. A URL whose scheme is not in this list is rejected at parse time.