$cookieJar
$cookieJar : \Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
Adds, extracts, and persists cookies between HTTP requests
$cookieJar : \Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
__construct(\Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface $cookieJar = null)
\Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface | $cookieJar | Cookie jar used to hold cookies. Creates an ArrayCookieJar by default. |
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
getCookieJar() : \Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
Get the cookie cookieJar
onRequestBeforeSend(\Guzzle\Common\Event $event)
Add cookies before a request is sent
\Guzzle\Common\Event | $event |
onRequestSent(\Guzzle\Common\Event $event)
Extract cookies from a sent request
\Guzzle\Common\Event | $event |