src/Support/Web/WebRequest.php
/**
     * Returns a new CURL resource configured for the given parameters.
     *
     * @param string $uri
     * @param array $options
     * @param array $headers
     */
Returns a new CURL resource configured for the given parameters.
Returns a new CURL resource configured for the given parameters .
protected function createHandle($uri, $options, $headers) {
        $ch = curl_init($uri);
        curl_setopt_array($ch, $options);
        curl_setopt($ch, CURLOPT_HTTPHEADER, $headers);
        return $ch;
    }
protected function createHandle ( $ uri , $ options , $ headers ) { $ ch = curl_init ( $ uri ) ; curl_setopt_array ( $ ch , $ options ) ; curl_setopt ( $ ch , CURLOPT_HTTPHEADER , $ headers ) ; return $ ch ; }
Returns a new CURL resource configured for the given parameters.
Returns a new CURL resource configured for the given parameters .
// Set the options // Set the headers // Return the handle resource