AdvancedWebServer.connectTo(protocol,host,port)

Connects to a HTTP Server. If a connection is already established, all requests and responses are cancelled and a new connection is established.

Arguments:

Name Type Description Mode
protocol String protocol to use in the connection (default: HTTP). in
host String web server to connecto to. in
port Int web server port (default: 80 for HTTP and 443 for HTTPS). in