Return the host type
host_type
host_type() noexcept;
Declared in file <boost/url/authority_view.hpp> at line 662
This function returns one of the following constants representing the type of host present.
assert( url_view( "https://192.168.0.1/local.htm" ).host_type() == host_type::ipv4 );
Constant.
Throws nothing.