![]() |
Home | Libraries | People | FAQ | More |
Return the host type.
urls::host_type host_type() const;
This function returns one of the following constants representing the type of host present.
assert( url_view( "https://192.168.0.1/local.htm" ).[link url.ref.boost__urls__authority_view.host_type `host_type`]() == [link url.ref.boost__urls__host_type `host_type::ipv4`] );
Constant.
Throws nothing.