Docs.rs
tokio-tungstenite-wasm-0.8.2
tokio-tungstenite-wasm 0.8.2
Permalink
Docs.rs crate page
23 June 2026
Links
Homepage
Repository
crates.io
Source
Owners
TannerRogalsky
Dependencies
futures-util ^0.3
normal
http ^1
normal
httparse ^1
normal
thiserror ^2
normal
assert-impl ^0.1
dev
native-tls ^0.2
normal
optional
rustls ^0.23
normal
optional
tokio ^1
normal
tokio-tungstenite ^0.28
normal
rand ^0.9
dev
tokio ^1
dev
bytes ^1
normal
futures-channel ^0.3
normal
js-sys ^0.3
normal
wasm-bindgen ^0.2
normal
web-sys ^0.3
normal
Versions
94.9%
of the crate is documented
Platform
wasm32-unknown-unknown
x86_64-unknown-linux-gnu
Feature flags
docs.rs
About docs.rs
Badges
Builds
Metadata
Shorthand URLs
Download
Rustdoc JSON
Build queue
Privacy policy
Rust
Rust website
The Book
Standard Library API Reference
Rust by Example
The Cargo Guide
Clippy Documentation
Skip to main content
Crate tokio_tungstenite_wasm
tokio_
tungstenite_
wasm
0.8.2
All Items
Crate Items
Re-exports
Modules
Structs
Enums
Functions
Crate
tokio_
tungstenite_
wasm
Copy item path
Source
Re-exports
§
pub use error::
Error
;
pub use error::
Result
;
Modules
§
error
Error handling.
Structs
§
Bytes
A cheaply cloneable and sliceable chunk of contiguous memory.
Close
Frame
A struct representing the close command.
Utf8
Bytes
Utf8 payload.
WebSocket
Stream
Enums
§
Close
Code
Status code used to indicate why an endpoint is closing the WebSocket connection.
Connector
A connector that can be used when establishing connections, allowing to control whether
native-tls
or
rustls
is used to create a TLS connection. Or TLS can be disabled with the
Plain
variant.
Message
An enum representing the various forms of a WebSocket message.
Functions
§
connect
connect_
custom_
tls
connect_
with_
protocols