From ed737c890ca55701e9dc40b9de4f30c2d12455ed Mon Sep 17 00:00:00 2001 From: GideonLeGrange Date: Mon, 30 Dec 2013 14:23:58 +0200 Subject: [PATCH] Added non-default port example --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 09173aa..5b268ec 100644 --- a/README.md +++ b/README.md @@ -29,13 +29,13 @@ If your router does not use the default API port, the port can be specified when ```java ApiConnection con = ApiConnection.connect("10.0.1.1", 1337); // connect to router on port 1337 +con.login("admin","password"); // log in to router ``` To open an encrypted (TLS) connection is as simple, assuming the default API-SSL port is used: ```java ApiConnection con = ApiConnection.connectTLS("10.0.1.1"); // connect to router -con.login("admin","password"); // log in to router ``` Currently only anonymous TLS is supported, not certificates.