$optionValueTypesList
$optionValueTypesList : array
List of available CURL Option in this execution.
Class Options Class to manage cUrl Options and the valid type(s) for each and define them in a request context.
checkOptionValue(integer $option, mixed $value, $throw = true) : boolean
Check whether or not the value is a valid type for the given option.
integer | $option | An integer flag |
mixed | $value | the value to be set to the integer flag |
$throw |
if the $option _isnot a valid cURL option
$throw Whether or not the value is of the correct type
setOptionValue(resource $resource, integer $option, mixed $value) : boolean
Alias of the curl_setopt function.
resource | $resource | cUrl resource |
integer | $option | Option defined in http://php.net/manual/function.curl-setopt.php |
mixed | $value |
if the option does not exist or if it is invalid
setOptionsValuesArray(resource $resource, array $options) : boolean
Alias of the curl_setopt_array function.
resource | $resource | curl resource |
array | $options | defined in http://php.net/manual/function.curl-setopt-array.php |