For the complete documentation index, see llms.txt. This page is also available as Markdown.

createWithConfigure(...args)

Forwards proxies to a set of ports based on filter criteria.

  • If a port is listed, the SDK attempts to forward a proxy that matches the given filter.

  • If specific filter fields are not provided, values will be randomized.

async createWithConfigure(requestId, ports, n, filterJson)

Parameters

  • requestId (string) – Correlation ID used to receive success/failure status via events.

  • ports (Uint32Array) – List of ports to forward.

  • n (number) – Number of elements in the ports array.

  • filterJson (string) – JSON string containing filter criteria:

// filterJson criteria

 {
  "plan": "1",
  "city": "Hanoi",
  "country": "VN",
  "state": "HN",
  "isp": "VNPT",
  "zip": "100000",
  "list_type": -1,
  "action": "manual"
}

- plan: plan ID (default "1")
- list_type: always -1 (indicates proxy list)
- action: user action type (default "manual")
- country, city, state, isp, zip: optional; randomized if omitted.

Retun Value

number or array (binding dependent).

Example

Last updated

Was this helpful?