79 [[nodiscard]] virtual std::
string get_origin() const noexcept = 0;
94 [[nodiscard]] inline uint16_t get_special_port() const noexcept;
114 virtual
size_t parse_port(std::string_view view,
115 bool check_trailing_content) noexcept = 0;
118 return this->parse_port(view,
false);
124 [[nodiscard]]
virtual std::string
to_string()
const = 0;
127 virtual inline void clear_pathname() = 0;
130 virtual inline void clear_search() = 0;
133 [[nodiscard]]
virtual inline bool has_hash() const noexcept = 0;
136 [[nodiscard]] virtual inline
bool has_search() const noexcept = 0;
Common definitions for cross-platform compiler support.
#define ada_really_inline
Declarations for the URL scheme.
virtual ~url_base()=default
ada_really_inline bool is_special() const noexcept
virtual bool has_valid_domain() const noexcept=0
virtual std::string get_origin() const noexcept=0
virtual std::string to_string() const =0
Declaration for the URL Components.