pion-net
4.0.9
|
Static Public Member Functions | |
static bool | base64_decode (std::string const &input, std::string &output) |
static bool | base64_encode (std::string const &input, std::string &output) |
static std::string | url_decode (const std::string &str) |
escapes URL-encoded strings (a%20value+with%20spaces) | |
static std::string | url_encode (const std::string &str) |
encodes strings so that they are safe for URLs (with%20spaces) |
Definition at line 19 of file PionAlgorithms.hpp.
|
static |
base64 decoding
input | - base64 encoded string |
output | - decoded string ( may include non-text chars) |
Definition at line 18 of file PionAlgorithms.cpp.
Referenced by pion::net::HTTPBasicAuth::parseCredentials().
|
static |
base64 encoding
input | - arbitrary string ( may include non-text chars) |
output | - base64 encoded string |
Definition at line 98 of file PionAlgorithms.cpp.
Referenced by pion::net::HTTPCookieAuth::processLogin().