Expand description
§PTTH Core
Common code used by both ptth_relay and ptth_server.
Most users will want to use those binary crates directly.
Modules§
- graceful_
shutdown - Wrapper for graceful and forced shutdowns of
ptth_relayandptth_server - http_
serde - An abstraction over HTTP that is easy to (de)serialize
- prelude
Constants§
- PTTH_
MAGIC_ HEADER ptth_serverpacks its response headers into this request header
Functions§
- gen_key
- Generates 64 bytes of entropy and returns it as Base64