host
The host
property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a ':'
, followed by the URL.port of the URL.
The host
property of the URL interface is a string containing the host, which is the URL.hostname, and then, if the port of the URL is nonempty, a ':'
, followed by the URL.port of the URL.