Expand description
Transport Legs Module
Pluggable physical transports, each a SessionTransport impl. The browser
wasm32 target exposes a WebSocket leg (Phase 3.3) since browsers cannot open
raw TCP/UDP sockets; WASI Preview 2 uses a TCP leg; bare-metal uses the
embedded leg; the off-by-default mimicry feature adds a TLS-mimicry leg.
The native KCP / TCP / FakeTLS legs and the TransportLeg multipath trait
were removed in Phase 0 of the PhantomUDP rewrite — they were never wired
into the session data plane (PhantomSession consumes SessionTransport,
not TransportLeg). The production reliable transport is now PhantomUDP
(UdpClientTransport / UdpServerTransport, which live outside this module
under transport/phantom_udp/ + api/udp_transport.rs), and FakeTLS-style
traffic mimicry has returned as the MimicTlsLeg (mimic_tls, below). The
plain TCP byte-pipe is TcpSessionTransport (in api/tcp_transport.rs).