mirror of
https://github.com/php-curl-class/php-curl-class.git
synced 2026-08-28 11:09:26 +00:00
Add getOpt function
Allows to get a previously set option.
This commit is contained in:
@@ -234,6 +234,11 @@ class Curl
|
||||
$this->options[$option] = $value;
|
||||
return curl_setopt($ch, $option, $value);
|
||||
}
|
||||
|
||||
public function getOpt($option)
|
||||
{
|
||||
return $this->options[$option];
|
||||
}
|
||||
|
||||
public function verbose($on = true)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user