aggligator-transport-websocket-web 0.7.1
“Aggligator transport: WebSocket for the web targeting WebAssembly”
Backtick shell command-substitution syntaxBasename is uppercase README.md
SHA-256d30c5130c1b249e9a7647e67edb707cbaa7b96a7868791c331155c13c102523e
MaleculeH(Cm₃)Md
Evidence
2:5… fg_attr(docsrs, feature(doc_cfg))]
3#![doc(
4 html_logo_url = "https://raw.githubusercontent.com/remoc-rs/aggligator/master/.misc/aggligator.png",
5 html_favicon_url = "https://raw.githubusercontent.com/remoc-rs/aggligator/master/.misc/aggligator.png",
6 issue_tracker …
12:42… ocket-web requires a WebAssembly target");
13
14use async_trait::async_trait;
15use bytes::Bytes;
16use futures::{StreamExt, future};
17use std::{
18 any::Any,
19 cmp::Ordering,
20 collections::HashSet,
21 fmt,
22 hash::{Hash, Hasher},
23 io::{Error, ErrorKind, Result},
24 sync::Arc,
25 time::Duration,
26};
27use threadporter::{ThreadBound, thread_bound};
28use tokio::sync::watch;
29use tokio_util::io::{SinkWriter, StreamReader};
30
31#[doc(no_inline)]
32pub use websocket_web::{Interface, WebSocketBuilder};
33
34use aggligator::{
35 LinkCfg,
36 control::Direction,
37 io::{IoBox, StreamBox},
38 transport::{ConnectingTransport, LinkTag, LinkTagBox},
39};
40
41static NAME: &str = "websocket";
42
43/// Link tag for outgoing WebSocket link.
44#[derive(Debug, Clone, PartialEq, Eq, PartialOrd, Ord, Hash)]
45pub stru …
143:26… path(&mut self, links_per_path: usize) {
144 assert!(links_per_path >= 1, "links_per_path must be at least 1");
145 self.links_per_path = links_ …
1# Changelog
2
3All notable changes to the Aggligator WebSocket transport for the web will be documented in this file.
4
5The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/),
6and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html).
7
8## 0.7.1 - 2026-10-17
9### Added
10- `WebSocketConnector::set_links_per_path` for establishing multiple parallel
11 WebSocket links per URL
12
13## 0.7.0 - 2026-08-13
14### Changed
15- the configuration function passed to `WebSocketConnector::set_cfg` needs to be
16 `Send` and `Sync` again
17
18## 0.6.0 - 2026-08-13
19### Changed
20- the configuration function passed to `WebSocketConnector::set_cfg` no longer
21 needs to be `Send` and `Sync`
22
23## 0.5.0 - 2026-08-03
24### Changed
25- the minimum acknowledgement timeout of a link is increased by 3 seconds,
26 since connections from a web browser tend to lag
27- update aggligator to 0.10.0
28- migration to Rust edition 2024 and minimum supported Rust version 1.97
1# Aggligator transport: WebSocket on the web targeting WebAssembly
2
3[](https://crates.io/crates/aggligator-transport-websocket-web)
4[](https://docs.rs/aggligator-transport-websocket-web)
5[](https://raw.githubusercontent.com/remoc-rs/aggligator/master/LICENSE)
6
7This crate provides WebSocket transport on the web targeting WebAssembly for the [Aggligator link aggregator].
8
9[Aggligator link aggregator]: https://crates.io/crates/aggligator
10
11## License
12
13Aggligator is licensed under the [Apache 2.0 license].
14
15[Apache 2.0 license]: https://github.com/remoc-rs/aggligator/blob/master/LICENSE
16
17### Contribution
⋯4 lines
No evidence locations were recorded for this file. Raw result