2 releases
0.1.1 | Sep 27, 2024 |
---|---|
0.1.0 | Jun 26, 2024 |
#133 in WebSocket
Used in 5 crates
(4 directly)
715KB
17K
SLoC
SwimOS Transport Layer
This crate provides the transport layer for SwimOS (bidirectional web-socket connections over TCP sockets). It consists of:
- An abstraction over DNS to allow for the resolution of remote hosts of Swim agents.
- A networking abstraction with basic implementation for unencrypted traffic over TCP sockets.
- An optional implementation of the networking abstraction using TLS encryption.
- Bindings to use the
ratchet
web-socket library on top of the networking abstraction. - A Tokio task to manage a bidirectional web-socket and handle communication with the core SwimOS runtime.
Dependencies
~18–32MB
~483K SLoC