setExtraCurlOption() public method

This method is used to set additional user curl options.
public setExtraCurlOption ( string $key, string $value ) : void
$key string name of the curl option
$value string value of the curl option
return void
Ejemplo n.º 1
0
 /**
  * Change CURL options.
  * CURL is used to connect through HTTPS to CAS server
  *
  * @param string $key   the option key
  * @param string $value the value to set
  *
  * @return void
  */
 public static function setExtraCurlOption($key, $value)
 {
     phpCAS::traceBegin();
     phpCAS::_validateClientExists();
     self::$_PHPCAS_CLIENT->setExtraCurlOption($key, $value);
     phpCAS::traceEnd();
 }