![]() |
Kurlyk
|
Provides utility functions for parsing HTTP headers and cookies. More...
Go to the source code of this file.
Namespaces | |
namespace | kurlyk |
Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions. | |
namespace | kurlyk::utils |
Macros | |
#define | _KURLYK_UTILS_HTTP_PARSER_HPP_INCLUDED |
Functions | |
void | kurlyk::utils::parse_http_header_pair (const char *buffer, const size_t &size, std::string &key, std::string &value) |
Parses a header pair from a buffer. | |
std::string | kurlyk::utils::to_query_string (const QueryParams &query, const std::string &prefix=std::string()) noexcept |
Converts a map of query parameters into a URL query string. | |
std::string | kurlyk::utils::to_cookie_string (const CaseInsensitiveMultimap &cookies) |
Converts a CaseInsensitiveMultimap to a string format suitable for HTTP Cookie headers. | |
std::string | kurlyk::utils::to_cookie_string (const Cookies &cookies) |
Converts a CaseInsensitiveMultimap to a string format suitable for HTTP Cookie headers. | |
Cookies | kurlyk::utils::parse_cookie (std::string cookie) |
Parses a cookie string into a Cookies object. | |
Provides utility functions for parsing HTTP headers and cookies.
Definition in file http_parser.hpp.
#define _KURLYK_UTILS_HTTP_PARSER_HPP_INCLUDED |
Definition at line 3 of file http_parser.hpp.