You are here

constant RequestOptions::ON_STATS in Zircon Profile 8

Same name and namespace in other branches
  1. 8.0 vendor/guzzlehttp/guzzle/src/RequestOptions.php \GuzzleHttp\RequestOptions::ON_STATS

on_stats: (callable) allows you to get access to transfer statistics of a request and access the lower level transfer details of the handler associated with your client. ``on_stats`` is a callable that is invoked when a handler has finished sending a request. The callback is invoked with transfer statistics about the request, the response received, or the error encountered. Included in the data is the total amount of time taken to send the request.

File

vendor/guzzlehttp/guzzle/src/RequestOptions.php, line 169

Class

RequestOptions
This class contains a list of built-in Guzzle request options.

Namespace

GuzzleHttp

Code

const ON_STATS = 'on_stats';