userver
C++ Async Framework
Toggle main menu visibility
Loading...
Searching...
No Matches
http_request_parse_args.hpp
Go to the documentation of this file.
1
#pragma once
2
6
7
#include <functional>
8
#include <string>
9
#include <unordered_map>
10
#include <vector>
11
12
#include <
userver/utils/str_icase.hpp
>
13
14
USERVER_NAMESPACE_BEGIN
15
17
namespace
http::parser
{
18
20
std::string
UrlDecode
(std::string_view url);
21
22
void
ParseArgs(
23
std::string_view args,
24
std::unordered_map<std::string, std::vector<std::string>,
utils::StrCaseHash
>& result
25
);
26
27
using
ArgsConsumer = std::function<void(std::string&& key, std::string&& value)>;
28
29
void
ParseAndConsumeArgs(std::string_view args, ArgsConsumer handler);
30
31
}
// namespace http::parser
32
33
USERVER_NAMESPACE_END
userver
http
parser
http_request_parse_args.hpp
Generated on
for userver by
Doxygen
1.17.0