RESTinio
|
Namespaces | |
base64 | |
details | |
impl | |
sha1 | |
Classes | |
struct | javascript_compatible_unescape_traits |
The traits for escaping and unexcaping symbols in JavaScript-compatible mode. More... | |
struct | restinio_default_unescape_traits |
The default traits for escaping and unexcaping symbols in a query string. More... | |
Functions | |
template<typename Value_Type > | |
Value_Type | from_string (string_view_t s) |
Get a value from string. More... | |
template<> | |
std::string | from_string< std::string > (string_view_t s) |
Get a value from string. More... | |
template<> | |
string_view_t | from_string< string_view_t > (string_view_t s) |
Get a value from string_view. More... | |
void | read_value (std::int64_t &v, const char *data, std::size_t size) |
Read int values. More... | |
void | read_value (std::uint64_t &v, const char *data, std::size_t size) |
void | read_value (std::int32_t &v, const char *data, std::size_t size) |
void | read_value (std::uint32_t &v, const char *data, std::size_t size) |
void | read_value (std::int16_t &v, const char *data, std::size_t size) |
void | read_value (std::uint16_t &v, const char *data, std::size_t size) |
void | read_value (std::int8_t &v, const char *data, std::size_t size) |
void | read_value (std::uint8_t &v, const char *data, std::size_t size) |
void | read_value (float &v, const char *data, std::size_t size) |
Read float values. More... | |
void | read_value (double &v, const char *data, std::size_t size) |
template<typename Traits = restinio_default_unescape_traits> | |
std::string | escape_percent_encoding (const string_view_t data) |
Percent encoding. More... | |
template<typename Traits = restinio_default_unescape_traits> | |
std::string | unescape_percent_encoding (const string_view_t data) |
template<typename Traits = restinio_default_unescape_traits> | |
std::size_t | inplace_unescape_percent_encoding (char *data, std::size_t size) |
std::string restinio::utils::escape_percent_encoding | ( | const string_view_t | data | ) |
Percent encoding.
Definition at line 117 of file percent_encoding.hpp.
Value_Type restinio::utils::from_string | ( | string_view_t | s | ) |
Get a value from string.
Definition at line 105 of file from_string.hpp.
|
inline |
Get a value from string.
Definition at line 117 of file from_string.hpp.
|
inline |
Get a value from string_view.
Definition at line 125 of file from_string.hpp.
std::size_t restinio::utils::inplace_unescape_percent_encoding | ( | char * | data, |
std::size_t | size | ||
) |
Definition at line 202 of file percent_encoding.hpp.
|
inline |
Read int values.
Definition at line 34 of file from_string.hpp.
|
inline |
Definition at line 40 of file from_string.hpp.
|
inline |
Definition at line 46 of file from_string.hpp.
|
inline |
Definition at line 52 of file from_string.hpp.
|
inline |
Definition at line 58 of file from_string.hpp.
|
inline |
Definition at line 64 of file from_string.hpp.
|
inline |
Definition at line 70 of file from_string.hpp.
|
inline |
Definition at line 76 of file from_string.hpp.
|
inline |
Read float values.
Definition at line 86 of file from_string.hpp.
|
inline |
Definition at line 94 of file from_string.hpp.
std::string restinio::utils::unescape_percent_encoding | ( | const string_view_t | data | ) |
Definition at line 151 of file percent_encoding.hpp.