- HTTPURL(String server,Int port,String localpart,Bool secure)
This data type stores URL information.
serveris the host to be contacted. Generally this should be the host name although for some sites the IP address may be used instead.
portis the TCP port to use. Normally, 80 is used for HTTP and 443 for HTTPS
localpartis the remainder of the URL (which must include the initial '/')
secureis false for HTTP and true for HTTPS (note that it is possible for a HTTP server to run on port 443, so no assumptions will be made about this setting based on the port number)