quickCreateAtPort(...args)
Quickly forwards a single proxy to the specified port.
If the port has an existing configuration, that configuration will be used.
If not, a random proxy will be assigned.
async quickCreateAtPort(port, requestId, plan)
Parameters
port (number) – The local port to forward.
requestId (string) – ID used to track request status in event callbacks.
plan (string) – ID of the plan to use (default: "1").
Return Value
number – Returns 0 on success.
Example
// example
sdk.quickCreateAtPort(60000, "request_id", "1");
Last updated
Was this helpful?