10#include <unordered_map>
12#include <userver/utils/impl/internal_tag_fwd.hpp>
13#include <userver/utils/str_icase.hpp>
15USERVER_NAMESPACE_BEGIN
20[[
deprecated(
"Use a more strict http::parser::UrlDecode instead")]] std::string
UrlDecode(std::string_view range);
23std::string
UrlEncode(std::string_view input_string);
32std::string
MakeQuery(
const std::unordered_map<std::string, std::string>& query_args);
35std::string
MakeQuery(std::initializer_list<std::pair<std::string_view, std::string_view>> query_args);
38std::string
MakeUrl(std::string_view path,
const Args& query_args);
41std::string
MakeUrl(std::string_view path,
const std::unordered_map<std::string, std::string>& query_args);
44std::string
MakeUrl(std::string_view path,
const Args& query_args, MultiArgs query_multiargs);
48MakeUrl(std::string_view path, std::initializer_list<std::pair<std::string_view, std::string_view>> query_args);
61std::string UrlDecode(
utils::impl::InternalTag, std::string_view range);