set_user
Set the user
Synopsis
static_url&
set_user(string_view s);
Defined in file <include/boost/url/static_url.hpp> on line 363
Description
This function sets the user part of the userinfo to the string. Any special or reserved characters in the string are automatically percent-encoded.
BNF
userinfo = [ [ user ] [ ':' password ] ]
user = *( unreserved / pct-encoded / sub-delims )
password = *( unreserved / pct-encoded / sub-delims / ":" )