|
PACS System 0.1.0
PACS DICOM system library
|
REST API server configuration. More...
#include <config_loader.h>

Public Attributes | |
| bool | enabled {true} |
| Enable REST API server. | |
| std::uint16_t | port {8080} |
| HTTP port for REST API. | |
| bool | cors_enabled {true} |
| Enable CORS for web clients. | |
REST API server configuration.
Definition at line 100 of file config_loader.h.
| bool kcenon::pacs::samples::rest_api_config::cors_enabled {true} |
Enable CORS for web clients.
Definition at line 108 of file config_loader.h.
Referenced by kcenon::pacs::samples::config_loader::create_default(), kcenon::pacs::samples::config_loader::load_from_string(), main(), and kcenon::pacs::samples::production_pacs::setup_rest_api().
| bool kcenon::pacs::samples::rest_api_config::enabled {true} |
Enable REST API server.
Definition at line 102 of file config_loader.h.
Referenced by kcenon::pacs::samples::config_loader::create_default(), kcenon::pacs::samples::production_pacs::export_statistics(), kcenon::pacs::samples::config_loader::load_from_string(), main(), kcenon::pacs::samples::production_pacs::print_status(), kcenon::pacs::samples::production_pacs::setup_rest_api(), and kcenon::pacs::samples::production_pacs::start().
| std::uint16_t kcenon::pacs::samples::rest_api_config::port {8080} |
HTTP port for REST API.
Definition at line 105 of file config_loader.h.
Referenced by kcenon::pacs::samples::config_loader::create_default(), kcenon::pacs::samples::production_pacs::export_statistics(), kcenon::pacs::samples::config_loader::load_from_string(), main(), kcenon::pacs::samples::production_pacs::print_status(), and kcenon::pacs::samples::production_pacs::setup_rest_api().