[#boost-urls-host_type] = xref:boost.adoc[boost]::xref:boost/urls.adoc[urls]::host_type :relfileprefix: ../../ :mrdocs: Identifies the type of host in a URL. == Synopsis Declared in `<https://www.github.com/boostorg/url/blob/develop/include/boost/url/host_type.hpp#L24[boost/url/host_type.hpp]>` [source,cpp,subs="verbatim,replacements,macros,-callouts"] ---- enum class host_type : int; ---- == Description Values of this type are returned by URL views and containers to indicate the type of host present in a URL. == Members [cols="1,4"] |=== | Name| Description | `none` | No host is specified. | `name` | A host is specified by reg‐name. | `ipv4` | A host is specified by xref:boost/urls/ipv4_address.adoc[`ipv4_address`]. | `ipv6` | A host is specified by xref:boost/urls/ipv6_address.adoc[`ipv6_address`]. | `ipvfuture` | A host is specified by IPvFuture. |=== [.small]#Created with https://www.mrdocs.com[MrDocs]#