ProtonClient.connect

Connect to the given host and port, with credentials (if required by server peer).

@param host the host to connect to @param port the port to connect to @param username the user name to use in any SASL negotiation that requires it @param password the password to use in any SASL negotiation that requires it @param connectionHandler handler that will process the result, giving either the (unopened) ProtonConnection or failure cause.

Meta