src/Sherlock/common/tmp/RollingCurl/RollingCurl.php
public function request($url, $method = "GET", $postData = null, $headers = null, $options = null)
    {
        $newRequest = new Request($url, $method);
        if ($postData) {
            $newRequest->setPostData($postData);
        }
        if ($headers) {
            $newRequest->setHeaders($headers);
        }
        if ($options) {
            $newRequest->setOptions($options);
        }

        return $this->add($newRequest);
    }
public function request($url, $method = "GET", $postData = null, $headers = null, $options = null)
    {
        $newRequest = new Request($url, $method);
        if ($postData) {
            $newRequest->setPostData($postData);
        }
        if ($headers) {
            $newRequest->setHeaders($headers);
        }
        if ($options) {
            $newRequest->setOptions($options);
        }

        return $this->add($newRequest);
    }
Create new Request and add it to the request queue

@param  string       $url
@param  string       $method
@param  array|string $postData
@param  array        $headers
@param  array        $options

@return RollingCurl