|
iceberg-cpp
|
Utilities for encoding and decoding URLs. More...
#include <url_encoder.h>
Static Public Member Functions | |
| static std::string | Encode (std::string_view str_to_encode) |
| URL-encode a string. | |
| static std::string | Decode (std::string_view str_to_decode) |
| URL-decode a string. | |
Utilities for encoding and decoding URLs.
|
static |
URL-decode a string.
Decodes percent-encoded characters (e.g., "%20" -> space).
| str_to_decode | The encoded string to decode. |
|
static |
URL-encode a string.
This is a simple implementation of url-encode
| str_to_encode | The string to encode. |