easylocal::rest::app_blueprint::app_blueprint
From the prefix of its routes, the app, the codec and the options.
Synopsis
Declared in <easylocal/adapters/rest/blueprint.hpp>
app_blueprint(
std::string prefix,
App application,
Codec codec,
blueprint_options options = {});
Description
Leading and trailing slashes of the prefix are dropped. Throws std::invalid_argument when the prefix is empty, workers, queue_capacity or completed_run_capacity is zero, max_timeout is negative or not a number, or the parameters of the app are not valid.