Constructor
new Tunnel(options)
Create a tunnel
Parameters:
Name | Type | Description | ||||||||||||||||||||||||||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
options | object | Properties
|
Members
url
Gets the appropriate tunnel URL
Methods
close()
Shutsdown the tunnel
open()
Establishes the tunnel connection
queryProxyInfoFromServer() → {Promise.<object>}
Requests and returns server assigned info for this tunnel
Returns:
- Type:
- Promise.<object>
reconnect()
Kick off the auto reconnect heartbeat