Function urlDecode

Summary

#include <lib/inc/drogon/utils/Utilities.h>

(1) DROGON_EXPORT std::string urlDecode(const char *begin, const char *end)

(2) std::string urlDecode(const std::string &szToDecode)

(3) std::string urlDecode(const string_view &szToDecode)

Function overload

Synopsis

#include <lib/inc/drogon/utils/Utilities.h>

DROGON_EXPORT std::string urlDecode(const char *begin, const char *end)

Description

Decode from or encode to the URL format string.

Source

Line 115 in lib/inc/drogon/utils/Utilities.h.

Synopsis

#include <lib/inc/drogon/utils/Utilities.h>

std::string urlDecode(const std::string &szToDecode)

Description

No description yet.

Source

Lines 116-120 in lib/inc/drogon/utils/Utilities.h.

inline std::string urlDecode(const std::string &szToDecode)
{
    auto begin = szToDecode.data();
    return urlDecode(begin, begin + szToDecode.length());
}

Synopsis

#include <lib/inc/drogon/utils/Utilities.h>

std::string urlDecode(const string_view &szToDecode)

Description

No description yet.

Source

Lines 121-125 in lib/inc/drogon/utils/Utilities.h.

inline std::string urlDecode(const string_view &szToDecode)
{
    auto begin = szToDecode.data();
    return urlDecode(begin, begin + szToDecode.length());
}





Add Discussion as Guest

Log in