boost::urls::host_type

Identifies the type of host in a URL.

Synopsis

enum host_type : int;

Members

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.

Description

Values of this type are returned by URL views and containers to indicate the type of host present in a URL.

Created with MrDocs