$request
$request : \Psr\Http\Message\RequestInterface
Represents data at the point after it was transferred either successfully or after a network error.
$request : \Psr\Http\Message\RequestInterface
$response : \Psr\Http\Message\ResponseInterface|null
$transferTime : float|null
$handlerStats : array
$handlerErrorData : mixed|null
__construct(\Psr\Http\Message\RequestInterface $request, \Psr\Http\Message\ResponseInterface|null $response = null, float|null $transferTime = null, mixed $handlerErrorData = null, array $handlerStats = []) : mixed
\Psr\Http\Message\RequestInterface | $request | Request that was sent. |
\Psr\Http\Message\ResponseInterface|null | $response | Response received (if any) |
float|null | $transferTime | Total handler transfer time. |
mixed | $handlerErrorData | Handler error data. |
array | $handlerStats | Handler specific stats. |