const TargetParser & target
the incoming request's URI target
Definition: hdl_ctx.hpp:14
virt::Connection & conn
the connection to perform libvirt operations through (plans to change to a vector) ...
Definition: hdl_ctx.hpp:12
Definition: hdl_ctx.hpp:11
JsonRes & json_res
the result of running the handlers to be sent to the client
Definition: hdl_ctx.hpp:13
const auto fwd_as_if_err(int code)
Definition: hdl_ctx.hpp:32
const auto fwd_err(bool fwd, int code)
Definition: hdl_ctx.hpp:27
auto error(Args &&...args) const noexcept(noexcept(json_res.error(std::forward< Args >(args)...))) -> decltype(json_res.error(std::forward< Args >(args)...))
Definition: hdl_ctx.hpp:22