Set the host to an address
static_url&
set_host_ipvfuture(
string_view s);
Declared in file <boost/url/static_url.hpp> at line 386
The host is set to the specified IPvFuture string. The host type is host_type::ipvfuture.
assert( url().set_host_ipvfuture( "v42.bis" ).buffer() == "//[v42.bis]" );
Linear in `this->size() + s.size()`.
this->has_authority() == true && this->host_ipvfuture) == s && this->host_type() == host_type::ipvfuture
Strong guarantee. Calls to allocate may throw. Exceptions thrown on invalid input.
IPvFuture = "v" 1*HEXDIG "." 1*( unreserved / sub-delims / ":" )