[ Index ]

PHP Cross Reference of phpBB-3.3.14-deutsch

title

Body

[close]

/vendor/guzzlehttp/guzzle/src/ -> TransferStats.php (summary)

Represents data at the point after it was transferred either successfully or after a network error.

File Size: 126 lines (3 kb)
Included or required:0 times
Referenced: 0 times
Includes or requires: 0 files

Defines 9 functions

  __construct()
  getRequest()
  getResponse()
  hasResponse()
  getHandlerErrorData()
  getEffectiveUri()
  getTransferTime()
  getHandlerStats()
  getHandlerStat()

Functions
Functions that are not part of a class:

__construct(RequestInterface $request,ResponseInterface $response = null,$transferTime = null,$handlerErrorData = null,$handlerStats = [])   X-Ref

param: RequestInterface       $request          Request that was sent.
param: ResponseInterface|null $response         Response received (if any)
param: float|null             $transferTime     Total handler transfer time.
param: mixed                  $handlerErrorData Handler error data.
param: array                  $handlerStats     Handler specific stats.

getRequest()   X-Ref

return: RequestInterface

getResponse()   X-Ref
Returns the response that was received (if any).

return: ResponseInterface|null

hasResponse()   X-Ref
Returns true if a response was received.

return: bool

getHandlerErrorData()   X-Ref
Gets handler specific error data.

This might be an exception, a integer representing an error code, or
anything else. Relying on this value assumes that you know what handler
you are using.

return: mixed

getEffectiveUri()   X-Ref
Get the effective URI the request was sent to.

return: UriInterface

getTransferTime()   X-Ref
Get the estimated time the request was being transferred by the handler.

return: float|null Time in seconds.

getHandlerStats()   X-Ref
Gets an array of all of the handler specific transfer data.

return: array

getHandlerStat($stat)   X-Ref
Get a specific handler statistic from the handler by name.

param: string $stat Handler specific transfer stat to retrieve.
return: mixed|null



Generated: Mon Nov 25 19:05:08 2024 Cross-referenced by PHPXref 0.7.1