Trendflow JS — API Reference - v0.2.0
    Preparing search index...

    Class ProxyPool

    Index
    • Move to the next proxy, wrapping around at the end of the list.

      Returns void

    • Bind the pooled fetch so it can be handed to the transport as a plain function.

      Returns {
          (input: URL | RequestInfo, init?: RequestInit): Promise<Response>;
          (input: string | URL | Request, init?: RequestInit): Promise<Response>;
      }

        • (input: URL | RequestInfo, init?: RequestInit): Promise<Response>
        • Parameters

          • input: URL | RequestInfo
          • Optionalinit: RequestInit

          Returns Promise<Response>

        • (input: string | URL | Request, init?: RequestInit): Promise<Response>
        • Parameters

          • input: string | URL | Request
          • Optionalinit: RequestInit

          Returns Promise<Response>

    • The proxy currently pinned for requests.

      Returns string

    • A fetch bound to the currently pinned proxy. Reused so keep-alive holds the exit IP.

      Parameters

      • input: string | URL | Request
      • Optionalinit: RequestInit

      Returns Promise<Response>