Lines Matching full:curl
29 …* Abstraction for the procedural curl elements so that curl can be mocked and the implementation c…
37 * @var resource Curl resource instance
39 protected $curl; variable in Facebook\\HttpClients\\FacebookCurl
42 * Make a new curl reference instance
46 $this->curl = curl_init();
50 * Set a curl option
57 curl_setopt($this->curl, $key, $value);
61 * Set an array of options to a curl resource
67 curl_setopt_array($this->curl, $options);
71 * Send a curl request
77 return curl_exec($this->curl);
81 * Return the curl error number
87 return curl_errno($this->curl);
91 * Return the curl error message
97 return curl_error($this->curl);
101 * Get info from a curl reference
109 return curl_getinfo($this->curl, $type);
113 * Get the currently installed curl version
123 * Close the resource connection to curl
127 curl_close($this->curl);