Search the local network for gateways - when enough gateways have been found, either break out of the for await..of loop or abort a passed AbortSignal.
for await..of
AbortSignal
Optional
Use a specific network gateway for port mapping.
For UPnP this should be a fully qualified URL to a device descriptor XML document, e.g. http://192.168.1.1:4558/rootDesc.xml
http://192.168.1.1:4558/rootDesc.xml
Search the local network for gateways - when enough gateways have been found, either break out of the
for await..of
loop or abort a passedAbortSignal
.