Skip to main content
Concurrent request execution has been moved to its own dedicated package at packages/http-pool. This separation keeps the core HTTP client focused on single-request transport while giving the pooling layer its own lifecycle and dependencies.

Where to Find Pooling

The pooling API is provided by the http-pool package. The key types are: Refer to packages/http-pool/docs/ for full documentation on configuring concurrency limits, handling per-request errors, and collecting results.

Collection Types

The request and response collection types remain in the http-client package since they are useful beyond pooling:

HttpRequestList

A typed, immutable collection of HttpRequest objects:

HttpResponseList

A typed, immutable collection of Result objects, where each result wraps either a successful HttpResponse or an error:
This design lets you handle partial failures gracefully — some requests in a batch may succeed while others fail, and you can inspect each result independently.