[ Index ]

PHP Cross Reference of phpBB-3.2.11-deutsch

title

Body

[close]

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

Event that contains transfer statistics, and can be intercepted.

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

Defines 4 functions

  getTransferInfo()
  hasResponse()
  getResponse()
  intercept()

Functions
Functions that are not part of a class:

getTransferInfo($name = null)   X-Ref
Get all transfer information as an associative array if no $name
argument is supplied, or gets a specific transfer statistic if
a $name attribute is supplied (e.g., 'total_time').

param: string $name Name of the transfer stat to retrieve
return: mixed|null|array

hasResponse()   X-Ref
Returns true/false if a response is available.

return: bool

getResponse()   X-Ref
Get the response.

return: ResponseInterface|null

intercept(ResponseInterface $response)   X-Ref
Intercept the request and associate a response

param: ResponseInterface $response Response to set



Generated: Wed Nov 11 20:33:01 2020 Cross-referenced by PHPXref 0.7.1