Return client

This allows manipulating the client from outside. Allowing, for example, to close a connection.
This commit is contained in:
Nuno Job
2014-04-28 23:32:00 +01:00
parent 5d0eb3382a
commit 2acea3d77f

View File

@@ -312,4 +312,5 @@ module.exports = function localtunnel(port, opt, fn) {
fn(null, client);
});
return client;
};