create_query

This commit is contained in:
orignal committed 2026-07-26 14:11:18 -04:00
1 parent bea4829b84
commit d19cddca7e
2 files changed
+44 -20

No files matched your search

+4 -2
View File
@@ -62,13 +62,15 @@ namespace http
* @brief Parse query part of url to key/value map
* @note Honestly, this should be implemented with std::multimap
*/
bool parse_query(std::map<std::string, std::string> & params);
bool parse_query(std::map<std::string, std::string> & params) const;
void create_query (const std::map<std::string, std::string>& params);
/**
* @brief Serialize URL structure to url
* @note Returns relative url if schema if empty, absolute url otherwise
*/
std::string to_string () const;
std::string to_string (bool requestTargetOnly = false) const;
/**
* @brief return true if the host is inside i2p