ark::comms::StaticCallbacks
Defined in header “ark/comms/http_server.hh”.
A set of callbacks that could be used for static execution. Typically one of these will be set (a memory or file-based callback).
Variables
-
StaticMemoryCallback memory_callback
Invoked if an HTTP request wants to have its content served from in-memory only. -
StaticFileCallback file_callback
Invoked if an HTTP request wants to have its content served from a file. -
std::optional< std::filesystem::path > request_base_dir
If set, request bodies will be written to disk, rather than served from in-memory.