Skip to content

Commit

Permalink
// add doxygen comments to enum class HostType
Browse files Browse the repository at this point in the history
  • Loading branch information
rmisev committed Oct 22, 2023
1 parent 480a638 commit d9894b9
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions include/upa/url_host.h
Original file line number Diff line number Diff line change
Expand Up @@ -21,12 +21,16 @@

namespace upa {

/// @brief Host representation
///
/// See: https://url.spec.whatwg.org/#host-representation
enum class HostType {
Empty = 0,
Opaque,
Domain,
IPv4,
IPv6
Empty = 0, ///< **empty host** is the empty string
Opaque, ///< **opaque host** is a non-empty ASCII string used in a not special URL
Domain, ///< **domain** is a non-empty ASCII string that identifies a realm within a network
///< (it is usually the host of a special URL)
IPv4, ///< host is an **IPv4 address**
IPv6 ///< host is an **IPv6 address**
};


Expand Down

0 comments on commit d9894b9

Please sign in to comment.