8#include <event2/http.h>
10std::string
urlDecode(
const std::string &urlEncoded) {
12 if (!urlEncoded.empty()) {
13 char *decoded = evhttp_uridecode(urlEncoded.c_str(),
false,
nullptr);
15 res = std::string(decoded);
std::string urlDecode(const std::string &urlEncoded)