ProtonClient.connect
- void connect(string host, int port, Handler!ProtonConnection connectionHandler)
- void connect(string host, int port, string username, string password, Handler!ProtonConnection connectionHandler)
- void connect(ProtonClientOptions options, string host, int port, Handler!ProtonConnection connectionHandler)
- void connect(ProtonClientOptions options, string host, int port, string username, string password, Handler!ProtonConnection connectionHandler)
Connect to the given host and port, without credentials.
@param host the host to connect to @param port the port to connect to @param connectionHandler handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.