verifyHost() 공개 정적인 메소드

Verify SSL host
public static verifyHost ( boolean $enabled ) : boolean
$enabled boolean enable SSL host verification, by default is true
리턴 boolean
예제 #1
0
파일: DieselUp.php 프로젝트: xcopy/dieselup
 /**
  * Constructor
  */
 public function __construct()
 {
     $this->output = new ConsoleOutput();
     Request::verifyPeer(false);
     Request::verifyHost(false);
     Request::cookieFile('/tmp/cookie.dat');
 }