����JFIF��x�x����'
Server IP : 78.140.185.180 / Your IP : 3.14.7.99 Web Server : LiteSpeed System : Linux cpanel13.v.fozzy.com 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : builderbox ( 1072) PHP Version : 7.3.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : ON | Sudo : OFF | Pkexec : OFF Directory : /home/builderbox/www/vendor/guzzle/guzzle/docs/plugins/ |
Upload File : |
============== History plugin ============== The history plugin tracks all of the requests and responses sent through a request or client. This plugin can be useful for crawling or unit testing. By default, the history plugin stores up to 10 requests and responses. .. code-block:: php use Guzzle\Http\Client; use Guzzle\Plugin\History\HistoryPlugin; $client = new Client('http://www.test.com/'); // Add the history plugin to the client object $history = new HistoryPlugin(); $history->setLimit(5); $client->addSubscriber($history); $client->get('http://www.yahoo.com/')->send(); echo $history->getLastRequest(); echo $history->getLastResponse(); echo count($history);