Class AcceptHeaderPluging put Accept header at Guzzle client
| package | Ant\Guzzle\Plugin |
|---|
__construct(array $config)
arrayThe config values, this plugin only accept key accept-header
getSubscribedEvents() : array
arrayThe event names to listen toonRequestBeforeSend(\Guzzle\Common\Event $event) : string