public function TransferStats::__construct in Lockr 7.3
Parameters
RequestInterface $request Request that was sent.:
ResponseInterface $response Response received (if any):
null $transferTime Total handler transfer time.:
mixed $handlerErrorData Handler error data.:
array $handlerStats Handler specific stats.:
File
- vendor/
guzzlehttp/ guzzle/ src/ TransferStats.php, line 27
Class
- TransferStats
- Represents data at the point after it was transferred either successfully or after a network error.
Namespace
GuzzleHttpCode
public function __construct(RequestInterface $request, ResponseInterface $response = null, $transferTime = null, $handlerErrorData = null, $handlerStats = []) {
$this->request = $request;
$this->response = $response;
$this->transferTime = $transferTime;
$this->handlerErrorData = $handlerErrorData;
$this->handlerStats = $handlerStats;
}