Return client

This allows manipulating the client from outside. Allowing, for example, to close a connection.
This commit is contained in:
Nuno Job committed 2014-04-28 23:32:00 +01:00
1 parent 5d0eb3382a
commit 2acea3d77f
1 file changed
+1
+1
View File
@@ -312,4 +312,5 @@ module.exports = function localtunnel(port, opt, fn) {
fn(null, client);
});
return client;
};