src/Requester.php
protected function send($function, array $options = [])
    {
        $guzzle = $this->getGuzzleClient();

        $url = $this->getUrl();

        // merge options
        $options = $this->getOptions($options);

        // need to reset after every request
        $this->initialize();

        return $guzzle->$function($url, $options);
    }
protected function send($function, array $options = [])
    {
        $guzzle = $this->getGuzzleClient();

        $url = $this->getUrl();

        // merge options
        $options = $this->getOptions($options);

        // need to reset after every request
        $this->initialize();

        return $guzzle->$function($url, $options);
    }
protected function send ( $ function , array $ options = [ ] ) { $ guzzle = $ this -> getGuzzleClient ( ) ; $ url = $ this -> getUrl ( ) ; // merge options $ options = $ this -> getOptions ( $ options ) ; // need to reset after every request $ this -> initialize ( ) ; return $ guzzle -> $ function ( $ url , $ options ) ; }
Send the request using guzzle.

@param string $function function to call on guzzle
@param array  $options  options to pass

@return \GuzzleHttp\Message\ResponseInterface
Send the request using guzzle .