public static verifyPeer ( boolean $enabled ) : boolean | ||
$enabled | boolean | enable SSL verification, by default is true |
return | boolean |
public static function verifyPeer($enabled)
{
return self::$verifyPeer = $enabled;
}
/** * Constructor */ public function __construct() { $this->output = new ConsoleOutput(); Request::verifyPeer(false); Request::verifyHost(false); Request::cookieFile('/tmp/cookie.dat'); }