$darkmode
Public Member Functions | |
| CONFABLE_SCHEMA (ServerConf) | |
Public Member Functions inherited from fable::Confable | |
| Confable (const Confable &) noexcept | |
| Confable (Confable &&) noexcept=default | |
| Confable & | operator= (const Confable &other) noexcept |
| Confable & | operator= (Confable &&other) noexcept |
| virtual void | reset_schema () |
| Schema & | schema () |
| const Schema & | schema () const |
| virtual void | validate_or_throw (const Conf &c) const |
| virtual bool | validate (const Conf &c, std::optional< SchemaError > &err) const |
| virtual void | from_conf (const Conf &c) |
| virtual void | to_json (Json &j) const |
| Json | to_json () const |
Public Attributes | |
| bool | listen {true} |
| std::string | listen_address {"127.0.0.1"} |
| uint16_t | listen_port {8080} |
| uint16_t | listen_threads {10} |
| std::string | api_prefix {"/api"} |
| std::string | static_prefix {""} |
Additional Inherited Members | |
Protected Member Functions inherited from fable::Confable | |
| virtual Schema | schema_impl () |