lightgun-poc / lib/tunnel / Tunnel
Interface: Tunnel
Defined in: lib/tunnel.ts:43
A live public endpoint pointed at the local server.
Properties
adopted
adopted:
boolean
Defined in: lib/tunnel.ts:50
True when the agent was already running and we merely borrowed it. It outlives us and we must not kill it — which also means the caller has nothing to keep alive and will exit straight away.
url
url:
string
Defined in: lib/tunnel.ts:44
Methods
stop()
stop():
void
Defined in: lib/tunnel.ts:52
Kills the agent we spawned; a no-op when we attached to a running one.
Returns
void