![]() |
boost::taar::mcp::uri_arg — Argument provider reading a {name} placeholder of a resource URI template.
// In header: <boost/taar/mcp/arg.hpp> struct uri_arg { // public member functions explicit uri_arg(std::string, std::string = {}); std::string const & name() const noexcept; std::string const & description() const noexcept; taar::result< std::string > operator()(resource_call const &, matcher::context const &) const; };
uri_arg public member functionsexplicit uri_arg(std::string name, std::string description = {});
std::string const & name() const noexcept;
std::string const & description() const noexcept;
taar::result< std::string > operator()(resource_call const & c, matcher::context const &) const;