Kurlyk
Loading...
Searching...
No Matches
percent_encoding.hpp File Reference

Provides functions for percent-encoding and decoding strings. More...

Go to the source code of this file.

Namespaces

namespace  kurlyk
 Primary namespace for the Kurlyk library, encompassing initialization, request management, and utility functions.
 
namespace  kurlyk::utils
 

Macros

#define _KURLYK_UTILS_PERCENT_ENCODING_HPP_INCLUDED
 

Functions

std::string kurlyk::utils::percent_encode (const std::string &value) noexcept
 Encodes a string using Percent Encoding according to RFC 3986.
 
std::string kurlyk::utils::percent_decode (const std::string &value) noexcept
 Decodes a Percent-Encoded string.
 

Detailed Description

Provides functions for percent-encoding and decoding strings.

This header defines utilities for performing percent-encoding (also known as URL encoding) and decoding according to RFC 3986. These functions are commonly used to encode query parameters or path segments in HTTP URLs.

Definition in file percent_encoding.hpp.

Macro Definition Documentation

◆ _KURLYK_UTILS_PERCENT_ENCODING_HPP_INCLUDED

#define _KURLYK_UTILS_PERCENT_ENCODING_HPP_INCLUDED

Definition at line 3 of file percent_encoding.hpp.