Overload set encode

Members

Apply percent-encoding to a string

template<class CharSet>
std::size_t
encode(
    char* dest,
    std::size_t size,
    core::string_view s,
    const CharSet& unreserved,
    encoding_opts opt = = {});
  » more...

Return a percent-encoded string

template<
    class StringToken = string_token::return_string,
    class CharSet>
StringToken::result_type
encode(
    core::string_view s,
    const CharSet& unreserved,
    encoding_opts opt = = {},
    StringToken&& token) noexcept;
  » more...