Skip to main content

Crate claw_transport

Crate claw_transport 

Source
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

  • wasmwasm::TlsStream: TLS via epoxy-tls JS bridge (for browser/WASM). Connects through a Wisp proxy over WebSocket.
  • nativenative::TlsStream: TLS via tokio + rustls (for native apps). Direct TCP+TLS connection.

Traits§

Transport
Async byte-stream transport.