class
Illuminate
/
Http
/
Client
/
Pool
You are viewing an older version of the documentation. For the latest, please visit master documentation.
Pool
Properties
protected
$handler callable
The handler function for the Guzzle client.
Default: null
protected
$pool array
The pool of requests.
Default: []
Methods
public
__construct ( Factory $factory ) : void
Create a new requests pool.
Parameters
- $factory Factory |null
public
as ( string $key ) : PendingRequest
Add a request to the pool with a key.
Parameters
- $key string
public
getRequests ( ) : array
Retrieve the requests in the pool.
public
__call ( $method , $parameters ) : PendingRequest
Add a request to the pool with a numeric index.
Parameters
- $method string
- $parameters array