26#ifndef ROUTING_CLASSIC_QUERY_PARAM_INCLUDED
27#define ROUTING_CLASSIC_QUERY_PARAM_INCLUDED
30#include <system_error>
stdx::expected< std::string, std::error_code > param_to_string(const classic_protocol::borrowed::message::client::Query::Param ¶m)
convert any param-type into a human readable string.
Definition: classic_query_param.cc:205
stdx::expected< std::string, std::error_code > param_as_string(const classic_protocol::borrowed::message::client::Query::Param ¶m)
convert a string-typed query param to a std::string.
Definition: classic_query_param.cc:502
stdx::expected< uint64_t, std::error_code > param_to_number(const classic_protocol::borrowed::message::client::Query::Param ¶m)
convert a numeric type into an unsigned integer.
Definition: classic_query_param.cc:432
Definition: expected.h:284
Definition: classic_protocol_message.h:791