![]() |
interceptor_result — What an interceptor or a handler::guard check decides.
// In header: <boost/taar/core/interceptor.hpp> typedef std::optional< boost::beast::http::response< boost::beast::http::string_body > > interceptor_result;
std::nullopt lets the request proceed; a response rejects it and is written to the client instead of running the route's handler. Build the values with taar::proceed() and taar::reject(), or construct a response directly when the rejection needs custom headers or a body other than plain text.