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;
    }
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
Adds normalized plugins to the Http client .