setRangePort(...args)

Defines the range of ports available for proxy forwarding.

setRangePort(startPort, endPort)

Parameters

  • startPort (number) – Starting port.

  • endPort (number) – Ending port.

Return Value

number or void (binding dependent).

Example

// example

sdk.setRangePort(10000, 20000);

Last updated

Was this helpful?