url
url.parse (url, query, host); resolve domain name
url must, address string
query optional
host optional: resolves correctly when the protocol is unclear
Reference: Video "MOOC's Attack on Node.js Basics"
url
url.parse (url, query, host); resolve domain name
url must, address string
query optional
host optional: resolves correctly when the protocol is unclear
Reference: Video "MOOC's Attack on Node.js Basics"