Upa URL C++ library
A WHATWG URL Standard implementation
Loading...
Searching...
No Matches
public_suffix_list.h File Reference
#include "url.h"
#include <cstddef>
#include <cstdint>
#include <filesystem>
#include <fstream>
#include <ios>
#include <istream>
#include <memory>
#include <string>
#include <string_view>
#include <unordered_map>
#include <utility>

Go to the source code of this file.

Classes

class  upa::public_suffix_list
 The Public Suffix List class. More...
struct  upa::public_suffix_list::result
 Return value type of the public_suffix_list::get_suffix_info function. More...
struct  upa::public_suffix_list::push_context
 Push context for public_suffix_list::push_line, public_suffix_list::push and public_suffix_list::finalize functions. More...
struct  upa::idna::enable_bitmask_operators< upa::public_suffix_list::option >

Namespaces

namespace  upa
namespace  upa::idna

Functions

template<class StrT, enable_if_str_arg_t< StrT > = 0>
constexpr std::size_t upa::get_label_pos_by_index (const StrT &str_host, std::size_t index)
 Get label position in hostname by it's index.