Expand description
Async byte-stream transport trait with pluggable TLS backends.
Provides a Transport trait that abstracts over byte-stream
connections (TLS, plain TCP, WebSocket tunnels, etc.).
No Send bound is required, making this compatible with single-threaded
runtimes like WASM.
§Features
wasm—wasm::TlsStream: TLS via epoxy-tls JS bridge (for browser/WASM). Connects through a Wisp proxy over WebSocket.native—native::TlsStream: TLS via tokio + rustls (for native apps). Direct TCP+TLS connection.
Traits§
- Transport
- Async byte-stream transport.