Class UserAgentListener
Listener used to append strings to the User-Agent header of a request based
on the ua.append
option. ua.append
can contain a
string or array of values.
- Aws\Common\Client\UserAgentListener implements Symfony\Component\EventDispatcher\EventSubscriberInterface
Methods summary
-
public static
getSubscribedEvents ( )
-
public
onBeforeSend ( Guzzle\Common\Event $event )
Adds strings to the User-Agent header using the
ua.append
parameter of a command
Methods detail
Adds strings to the User-Agent header using the ua.append
parameter of a command
Parameters
- $event
Guzzle\Common\Event
$event Event emitted
Magic methods summary
Constants summary
string |
OPTION |
'ua.append' |
#
Option used to store User-Agent modifiers |