$limit
$limit : integer
Maintains a list of requests and responses sent using a request or client
getSubscribedEvents() : array
Returns an array of event names this subscriber wants to listen to.
The array keys are event names and the value can be:
For instance:
The event names to listen to
add(\Guzzle\Http\Message\RequestInterface $request, \Guzzle\Http\Message\Response $response = null) : \Guzzle\Plugin\History\HistoryPlugin
Add a request to the history
\Guzzle\Http\Message\RequestInterface | $request | Request to add |
\Guzzle\Http\Message\Response | $response | Response of the request |
setLimit(integer $limit) : \Guzzle\Plugin\History\HistoryPlugin
Set the max number of requests to store
integer | $limit | Limit |
getLastRequest() : \Guzzle\Http\Message\RequestInterface
Get the last request sent
getLastResponse() : \Guzzle\Http\Message\Response|null
Get the last response in the history
clear() : \Guzzle\Plugin\History\HistoryPlugin
Clears the history
onRequestSent(\Guzzle\Common\Event $event)
\Guzzle\Common\Event | $event |