@pumpkin-plugins/port-mapping API / network / Dial
Interface: Dial ​
Defined in: tools/port-mapping/src/network.ts:34
A TCP connection that is still being made.
Methods ​
abort() ​
abort():
void
Defined in: tools/port-mapping/src/network.ts:42
Gives up on a connection that isn't up yet.
Returns ​
void
poll() ​
poll():
Connection|undefined
Defined in: tools/port-mapping/src/network.ts:40
Moves the connection forward.
Returns ​
Connection | undefined
The connection once it is up, or undefined while it is still being made.
Throws ​
With a message fit for a log when it can't be made.