$ch
$ch : resource
The cURL resource
Object-oriented cURL wrapper
notimeout(boolean $enabled = true) : \Alo\cURL
Set whether cURL should time out
boolean | $enabled | The switch |
laxSSLMode(boolean $enabled = true) : \Alo\cURL
Toggles lax SSL verification mode which doesn't check certificates
boolean | $enabled | Whether the mode is enabled or disabled |
init(string $url = null) : \Alo\cURL
A static wrapper function for __construct()
string | $url | Optionally, the URL for curl_init() |
reset() : \Alo\cURL
Reset all options of a libcurl session handle
setopt(integer $name, mixed $value) : \Alo\cURL
Sets an option
integer | $name | The option - see cURL constants |
mixed | $value | The option value |
exec() : \Alo\cURL
Executes the cURL connection parameters
close() : \Alo\cURL
Closes a cURL connection
setopt_array(array $a) : \Alo\cURL
Sets an array of options
array | $a | An array specifying which options to set and their values. The keys should be valid curl_setopt() constants or their integer equivalents. |
setURL(string $url) : \Alo\cURL
Sets the connection URL
string | $url | The URL |