swimos_remote 0.1.1

SwimOS Transport Layer
Documentation

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.