Crate sos_net

Source
Expand description

Networking support for the sos-sdk crate.

If the listen feature is enabled the client is compiled with support for sending and listening for change notification over a websocket connection.

Re-exports§

Modules§

  • hashcheckhashcheck
    Check password hashes using the hashcheck service.
  • pairingpairing
    Protocol for pairing devices.

Structs§

Enums§

Traits§

  • Trait for types that can sync with multiple remotes.
  • Trait for types that can sync with a single remote.
  • Client that can synchronize with a remote server.

Functions§

  • changeslisten
    Read change messages from a websocket stream, and decode to change notifications that can be processed.
  • connectlisten
    Create the websocket connection and listen for events.
  • Determine if the offline environment variable is set.

Type Aliases§