You are here

public function TransferStats::__construct in Auth0 Single Sign On 8.2

Parameters

RequestInterface $request Request that was sent.:

ResponseInterface|null $response Response received (if any):

float|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

GuzzleHttp

Code

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;
}