-1 if absent.URL.port
int port() @property const @safeReturn the port from the authority (-1 if absent).
Returns
The port number or
void port(int value) @property @safeSet the port in the authority (-1 means absent).
Notes: This setter also marks the inner URI as having an authority so that toString() serializes using the //host form.
Parameters
value | Port number to set; use -1 to clear. |