12345module juptune.http.uri;
Nullable!(
IpAddress
) hostAsIp;
The host of the URI as an IP address, if one exists.
If this field is set by a parsing function, then hostshould also be set to the string representation.
This field is set to nullif the host is not an IP address.
IPs need to be fully parsed for validation purposes, so naturally the parser will save the caller some effort by storing it into this field.
If there is also a port in a parsed URI, then the port field within the IpAddressstruct will also be set.