Tests whether the proxy bound to a given port is currently online.
testPort(port)
port (number) – Port to test.
number – 1 if online.
// example const online = sdk.testPort(60000); console.log("Online:", online === 1);
Last updated 1 year ago
Was this helpful?