class Pool mixin Factory (View source)
| protected Factory | $factory | The factory instance. | |
| protected callable | $handler | The handler function for the Guzzle client. | |
| protected array | $pool | The pool of requests. |
| void | __construct(Factory|null $factory = null)
Create a new requests pool. | |
| PendingRequest | as(string $key)
Add a request to the pool with a key. | |
| PendingRequest | asyncRequest()
Retrieve a new async pending request. | |
| array | getRequests()
Retrieve the requests in the pool. | |
| PendingRequest|Promise | __call(string $method, array $parameters)
Add a request to the pool with a numeric index. |
Create a new requests pool.
Add a request to the pool with a key.
Retrieve a new async pending request.
Retrieve the requests in the pool.
Add a request to the pool with a numeric index.
© Taylor Otwell
Licensed under the MIT License.
Laravel is a trademark of Taylor Otwell.
https://laravel.com/api/11.x/Illuminate/Http/Client/Pool.html