Lines Matching defs:useragent
62 public $useragent;
72 public function __construct($url, $timeout = 10, $redirects = 5, $headers = null, $useragent = null, $force_fsockopen = false, $curl_options = [])
81 $this->useragent = $useragent;
83 if ($useragent === null) {
84 $useragent = ini_get('user_agent');
85 $this->useragent = $useragent;
107 curl_setopt($fp, CURLOPT_USERAGENT, $useragent);
138 $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen, $curl_options);
172 $out .= "User-Agent: $useragent\r\n";
203 $this->__construct($location, $timeout, $redirects, $headers, $useragent, $force_fsockopen, $curl_options);