MakerLabs ACM
http_utils.h
Go to the documentation of this file.
1 /*
2  * Copyright Paul Reimer, 2018
3  *
4  * This work is licensed under the Creative Commons Attribution-NonCommercial-ShareAlike 4.0 Unported License.
5  * To view a copy of this license, visit
6  * https://creativecommons.org/licenses/by-nc-sa/4.0/
7  * or send a letter to
8  * Creative Commons, 444 Castro Street, Suite 900, Mountain View, California, 94041, USA.
9  */
10 
11 #pragma once
12 
13 #include <experimental/string_view>
14 #include <string>
15 
16 namespace Requests {
17 
19  -> int;
20 
21 auto is_char_url_safe(const char c)
22  -> bool;
23 
24 auto urlencode(const std::experimental::string_view raw_str)
25  -> std::string;
26 
27 } // namespace Requests
auto urlencode(const std::experimental::string_view raw_str) -> std::string
Definition: http_utils.cpp:89
auto is_char_url_safe(const char c) -> bool
Definition: http_utils.cpp:77
std::string string
Definition: oom_killer_actor_behaviour.cpp:24
std::experimental::string_view string_view
Definition: actor_model.cpp:16
Definition: curl_library_info.cpp:15
auto parse_http_status_line(const string_view chunk) -> int
Definition: http_utils.cpp:23