Unirest\Request::verifyPeer PHP 메소드

verifyPeer() 공개 정적인 메소드

Verify SSL peer
public static verifyPeer ( boolean $enabled ) : boolean
$enabled boolean enable SSL verification, by default is true
리턴 boolean
    public static function verifyPeer($enabled)
    {
        return self::$verifyPeer = $enabled;
    }

Usage Example

예제 #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');
 }
All Usage Examples Of Unirest\Request::verifyPeer