src/RestGalleries/Http/Guzzle/GuzzleRequest.php
public function addPlugin(RequestPluginAdapter $plugin)
    {
        $subscriber = $plugin->add();
        $this->request->addSubscriber($subscriber);

        return $this;
    }
public function addPlugin(RequestPluginAdapter $plugin)
    {
        $subscriber = $plugin->add();
        $this->request->addSubscriber($subscriber);

        return $this;
    }
Adds normalized plugins to the Http client.

@param \RestGalleries\Http\Plugins\RequestPluginAdapter $plugin