protected function getCurlConfig()
    {
        $useragent = $this->productMetadata->getName()
            . '/' . $this->productMetadata->getVersion()
            . ' (' . $this->productMetadata->getEdition() . ')';

        return [
            'useragent' => $useragent,
            'timeout'   => 2
        ];
    }
protected function getCurlConfig()
    {
        $useragent = $this->productMetadata->getName()
            . '/' . $this->productMetadata->getVersion()
            . ' (' . $this->productMetadata->getEdition() . ')';

        return [
            'useragent' => $useragent,
            'timeout'   => 2
        ];
    }
protected function getCurlConfig ( ) { $ useragent = $ this -> productMetadata -> getName ( ) . '/' . $ this -> productMetadata -> getVersion ( ) . ' (' . $ this -> productMetadata -> getEdition ( ) . ')' ; return [ 'useragent' => $ useragent , 'timeout' => 2 ] ; }
Retrieve config for curl

@return array
Retrieve config for curl