Crate tx5_signal_srv

source ·
Expand description
  • :warning: This code is new and should not yet be considered secure for production use!

Project Forum Chat

License: MIT License: Apache-2.0

Tx5

  • tx5 - crates.io - The main holochain tx5 webrtc networking crate integrating the other code in this monorepo.

Tx5 Support Crates

tx5-signal-srv

Holochain webrtc signal server.

The tx5-signal-srv executable

tx5-signal-srv --help

Holochain Webrtc Signal Server

Usage: tx5-signal-srv [OPTIONS]

Options:
  -i, --init
          Initialize a new tx5-signal-srv.json configuration file (as specified
          by --config). Will abort if it already exists
      --run-with-init-if-needed
          Run the signal server, generating a config file if one does not
          already exist. Exclusive with "init" option
  -c, --config <CONFIG>
          Configuration file to use for running the tx5-signal-srv. Defaults to
          `$user_config_dir_path$/tx5-signal-srv.json`
  -h, --help
          Print help
  -V, --version
          Print version

Modules

  • Re-exported dependencies.

Structs

  • Tx5-signal-srv config.
  • Tx5 core error type.
  • Tx5 32-byte identifier.
  • Tx5 signal server execution configuration.

Enums

Traits

  • Extension trait to extract a name from a Tx5 core error type.

Functions

  • If Opt specifies “init”, write an example configuration file, otherwise read and parse the config file.
  • The main entrypoint tx5-signal-server logic task.
  • Read and parse a tx5-signal-srv.json configuration file.
  • Encode and write an example tx5-signal-srv.json configuration file.

Type Aliases