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