verifyHost() public static method

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