Open Journal Systems
3.3.0
|
Public Member Functions | |
__construct (CookieJarInterface $cookieJar=null) | |
getCookieJar () | |
onRequestBeforeSend (Event $event) | |
onRequestSent (Event $event) | |
Static Public Member Functions | |
static | getSubscribedEvents () |
Protected Attributes | |
$cookieJar | |
Adds, extracts, and persists cookies between HTTP requests
Definition at line 13 of file CookiePlugin.php.
Guzzle\Plugin\Cookie\CookiePlugin::__construct | ( | CookieJarInterface | $cookieJar = null | ) |
CookieJarInterface | $cookieJar | Cookie jar used to hold cookies. Creates an ArrayCookieJar by default. |
Definition at line 24 of file CookiePlugin.php.
References Guzzle\Plugin\Cookie\CookiePlugin\$cookieJar.
Guzzle\Plugin\Cookie\CookiePlugin::getCookieJar | ( | ) |
Get the cookie cookieJar
Definition at line 42 of file CookiePlugin.php.
References Guzzle\Plugin\Cookie\CookiePlugin\$cookieJar.
|
static |
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:
Implements Symfony\Component\EventDispatcher\EventSubscriberInterface.
Definition at line 29 of file CookiePlugin.php.
Guzzle\Plugin\Cookie\CookiePlugin::onRequestBeforeSend | ( | Event | $event | ) |
Add cookies before a request is sent
Event | $event |
Definition at line 52 of file CookiePlugin.php.
Guzzle\Plugin\Cookie\CookiePlugin::onRequestSent | ( | Event | $event | ) |
Extract cookies from a sent request
Event | $event |
Definition at line 69 of file CookiePlugin.php.
|
protected |
Cookie cookieJar used to hold cookies
Definition at line 19 of file CookiePlugin.php.
Referenced by Guzzle\Plugin\Cookie\CookiePlugin\__construct(), and Guzzle\Plugin\Cookie\CookiePlugin\getCookieJar().