Overview

Namespaces

  • Contrib
    • Bundle
      • CoverallsBundle
        • Console
        • Entity
      • CoverallsV1Bundle
        • Api
        • Collector
        • Command
        • Config
        • Entity
          • Git
    • Component
      • File
      • Log
      • System
        • Git
  • Guzzle
    • Batch
      • Exception
    • Cache
    • Common
      • Exception
    • Http
      • Curl
      • Exception
      • Message
      • QueryAggregator
    • Inflection
    • Iterator
    • Log
    • Parser
      • Cookie
      • Message
      • UriTemplate
      • Url
    • Plugin
      • Async
      • Backoff
      • Cache
      • Cookie
        • CookieJar
        • Exception
      • CurlAuth
      • ErrorResponse
        • Exception
      • History
      • Log
      • Md5
      • Mock
      • Oauth
    • Service
      • Builder
      • Command
        • Factory
        • LocationVisitor
          • Request
          • Response
      • Description
      • Exception
      • Resource
    • Stream
  • PHP
  • Psr
    • Log
  • Symfony
    • Component
      • Config
        • Definition
          • Builder
          • Exception
        • Exception
        • Loader
        • Resource
        • Util
      • Console
        • Command
        • Formatter
        • Helper
        • Input
        • Output
        • Tester
      • EventDispatcher
        • Debug
      • Finder
        • Adapter
        • Comparator
        • Exception
        • Expression
        • Iterator
        • Shell
      • Stopwatch
      • Yaml
        • Exception

Classes

  • Cookie
  • CookiePlugin
  • Overview
  • Namespace
  • Class
  • Tree
  • Todo

Class CookiePlugin

Adds, extracts, and persists cookies between HTTP requests

Guzzle\Plugin\Cookie\CookiePlugin implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Namespace: Guzzle\Plugin\Cookie
Located at Guzzle/Plugin/Cookie/CookiePlugin.php
Methods summary
public
# __construct( Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface $cookieJar = null )

Parameters

$cookieJar
Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
$cookieJar Cookie jar used to hold cookies. Creates an ArrayCookieJar by default.
public static array
# getSubscribedEvents( )

Returns an array of event names this subscriber wants to listen to.

Returns an array of event names this subscriber wants to listen to.

Returns

array
The event names to listen to

Implementation of

Symfony\Component\EventDispatcher\EventSubscriberInterface::getSubscribedEvents()
public Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
# getCookieJar( )

Get the cookie cookieJar

Get the cookie cookieJar

Returns

Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface
public
# onRequestBeforeSend( Guzzle\Common\Event $event )

Add cookies before a request is sent

Add cookies before a request is sent

Parameters

$event
Guzzle\Common\Event
$event
public
# onRequestSent( Guzzle\Common\Event $event )

Extract cookies from a sent request

Extract cookies from a sent request

Parameters

$event
Guzzle\Common\Event
$event
Properties summary
protected Guzzle\Plugin\Cookie\CookieJar\CookieJarInterface $cookieJar
#

Cookie cookieJar used to hold cookies

Cookie cookieJar used to hold cookies

php-coveralls API documentation generated by ApiGen 2.8.0