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