Crate webserver_rs

source ·

Re-exports§

Modules§

Macros§

  • Conveniently generate an expiration time for a JWT
  • Respond to clients an error with html structure string A similar usage as json_err
  • Respond to clients an error with JSON data structure
  • Construct a router
  • Start the service with the provided config and defined routers, optionally followed by a list of middleware(globally)

Traits§

  • Trait for loading a struct from a configuration file. This trait is automatically implemented when serde::Deserialize is.

Functions§