URL.userinfo

string userinfo() @property const @safe

Return the userinfo from the authority (empty if absent).

Returns

The userinfo string (empty if absent).
void userinfo(string value) @property @safe

Set the userinfo in the authority.

Notes: This setter also marks the inner URI as having an authority so that toString() serializes using the //userinfo@host form.

Parameters

valueUserinfo string to set.