QuickCreateAtPort

Quickly forward a single proxy to a specific port (index → port).

  • If the port has a configured proxy, that configuration will be used.

  • If not, a random proxy will be assigned.

int QuickCreateAtPort(int index, char* requestId, char* plan)

Parameters

  • index: Port to forward.

  • requestId: Request ID used to receive success/failure status from events.

  • plan: Plan ID (default "1").

Return Value

  • int: 0 if success.

Example

// example

QuickCreateAtPort(5, "p", "pro");

Last updated

Was this helpful?