Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 98) sorted by relevance

1234

/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/src/WebService/Http/
H A DCurlRequest.php34 $curl = $this->createCurl();
39 return $this->execute($curl);
44 $curl = $this->createCurl();
48 return $this->execute($curl);
56 $curl = curl_init($this->url);
86 curl_setopt_array($curl, $opts);
88 return $curl;
91 private function execute($curl) argument
93 $body = curl_exec($curl);
94 if ($errno = curl_errno($curl)) {
[all …]
/plugin/gtime/gtlib/http/
H A DGTHttpClient.php57 $curl = curl_init();
62 curl_setopt($curl, CURLOPT_POST, 1);
65 $bytes = curl_exec($curl);
96 $curl = curl_init();
101 curl_setopt($curl, CURLOPT_POST, 1);
104 $bytes = curl_exec($curl);
175 $curl = curl_init();
183 $bytes = curl_exec($curl);
312 $curl = curl_init();
314 curl_setopt($curl, CURLOPT_URL, $url);
[all …]
/plugin/jiralinks/
H A Daction.php95 $curl = curl_init($this->getConf('jira_api_url') . $request);
104 curl_setopt($curl, CURLOPT_POST, TRUE);
107 curl_setopt($curl, CURLOPT_POSTFIELDS, json_encode($data));
112 curl_setopt($curl, CURLOPT_SSL_VERIFYPEER, FALSE);
113 curl_setopt($curl, CURLOPT_SSL_VERIFYHOST, 2);
114 curl_setopt($curl, CURLOPT_HTTPAUTH, CURLAUTH_BASIC) ;
116 curl_setopt($curl, CURLOPT_TIMEOUT, 10);
117 curl_setopt($curl, CURLOPT_RETURNTRANSFER, TRUE);
118 curl_setopt($curl, CURLOPT_HEADER, FALSE);
122 $response = curl_exec($curl);
[all …]
/plugin/html2pdf/html2pdf/html2ps/
H A Dfetcher.url.curl.class.php39 $curl = curl_init();
43 curl_setopt($curl, CURLOPT_URL, $fixed_url);
44 curl_setopt($curl, CURLOPT_USERAGENT, DEFAULT_USER_AGENT);
46 if (!@curl_setopt($curl, CURLOPT_FOLLOWLOCATION, 1)) {
50 curl_setopt($curl, CURLOPT_HEADER, 1);
51 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
55 curl_setopt($curl, CURLOPT_PROXY, $proxy);
62 $response = curl_exec($curl);
67 curl_error($curl)));
68 curl_close($curl);
[all …]
/plugin/authfacebook/lib/HttpClients/
H A DFacebookCurl.php39 protected $curl; variable in Facebook\\HttpClients\\FacebookCurl
46 $this->curl = curl_init();
57 curl_setopt($this->curl, $key, $value);
67 curl_setopt_array($this->curl, $options);
77 return curl_exec($this->curl);
87 return curl_errno($this->curl);
97 return curl_error($this->curl);
109 return curl_getinfo($this->curl, $type);
127 curl_close($this->curl);
/plugin/youtracklinks/
H A Dhelper.php24 $curl = curl_init();
25 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
26 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
27 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
32 curl_setopt($curl, CURLOPT_POST, 1);
37 curl_setopt($curl, CURLOPT_PUT, 1);
45 curl_setopt($curl, CURLOPT_URL, $url);
53 curl_setopt($curl, CURLOPT_COOKIEFILE, $cookiejar);
54 curl_setopt($curl, CURLOPT_COOKIEJAR, $cookiejar);
57 $content = curl_exec($curl);
[all …]
/plugin/indobible/
H A Dsyntax.php73 $curl = curl_init();
77 curl_setopt($curl, CURLOPT_POST, 1);
80 curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
83 curl_setopt($curl, CURLOPT_PUT, 1);
91 …curl_setopt($curl, CURLOPT_HTTPHEADER, array("X-Requested-With: XMLHttpRequest", "Content-Type: ap…
92 curl_setopt($curl, CURLOPT_URL, $url);
93 curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
95 $result = curl_exec($curl);
97 curl_close($curl);
/plugin/youtrack/
H A Dhelper.php100 $curl = curl_init();
101 curl_setopt($curl, CURLOPT_CONNECTTIMEOUT, 1);
102 curl_setopt($curl, CURLOPT_TIMEOUT, 1);
103 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
107 curl_setopt($curl, CURLOPT_POST, 1);
113 curl_setopt($curl, CURLOPT_PUT, 1);
121 curl_setopt($curl, CURLOPT_URL, $url);
128 curl_setopt($curl, CURLOPT_COOKIEFILE, $this->cookie);
129 curl_setopt($curl, CURLOPT_COOKIEJAR, $this->cookie);
132 $content = curl_exec($curl);
[all …]
/plugin/autotweet2/
H A Daction.php162 $this->curl = curl_init() ;
163 curl_setopt( $this->curl, CURLOPT_URL , $request_url ) ; // Request URL
164 curl_setopt( $this->curl, CURLOPT_HEADER, true ) ; // Get the header
165 curl_setopt( $this->curl, CURLOPT_CUSTOMREQUEST, $context['http']['method'] ) ; // Method
166 curl_setopt( $this->curl, CURLOPT_SSL_VERIFYPEER, false ) ; // Don't verify the certificate
168 curl_setopt( $this->curl, CURLOPT_HTTPHEADER, $context['http']['header'] ) ; // Header
170 … curl_setopt( $this->curl, CURLOPT_POSTFIELDS, $context['http']['content'] ) ; // Request body
172 curl_setopt( $this->curl, CURLOPT_TIMEOUT, 5 ) ; // Timeout seconds
173 $res1 = curl_exec( $this->curl ) ;
174 $res2 = curl_getinfo( $this->curl ) ;
[all …]
/plugin/combo/vendor/php-webdriver/webdriver/lib/Remote/
H A DHttpCommandExecutor.php174 protected $curl; variable in Facebook\\WebDriver\\Remote\\HttpCommandExecutor
190 $this->curl = curl_init();
193 curl_setopt($this->curl, CURLOPT_PROXY, $http_proxy);
195 curl_setopt($this->curl, CURLOPT_PROXYPORT, $http_proxy_port);
204 curl_setopt($this->curl, CURLOPT_HTTPAUTH, CURLAUTH_ANY);
205 curl_setopt($this->curl, CURLOPT_USERPWD, $auth_creds);
208 curl_setopt($this->curl, CURLOPT_RETURNTRANSFER, true);
209 curl_setopt($this->curl, CURLOPT_FOLLOWLOCATION, true);
210 curl_setopt($this->curl, CURLOPT_HTTPHEADER, static::DEFAULT_HTTP_HEADERS);
230 $this->curl,
[all...]
/plugin/twofactoryubiauth/
H A DYubiAuthenticator.php22 $curl = curl_init();
23 curl_setopt($curl, CURLOPT_URL, $url);
24 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
25 $result = curl_exec($curl);
26 curl_close($curl);
/plugin/botbouncer/lib/
H A Dmollom.php376 $curl = @curl_init();
383 @curl_setopt($curl, CURLOPT_POST, true);
384 @curl_setopt($curl, CURLOPT_FOLLOWLOCATION, true);
385 @curl_setopt($curl, CURLOPT_HEADER, true);
386 @curl_setopt($curl, CURLOPT_RETURNTRANSFER, true);
388 @curl_setopt($curl, CURLOPT_TIMEOUT, self::$timeout);
394 @curl_setopt($curl, CURLOPT_POSTFIELDS, $requestBody);
397 $response = @curl_exec($curl);
400 $errorNumber = (int) @curl_errno($curl);
401 $errorString = @curl_error($curl);
[all …]
H A Dbotbouncer.php550 $curl = curl_init();
551 curl_setopt($curl, CURLOPT_URL, $url);
552 curl_setopt($curl, CURLOPT_TIMEOUT, 30);
553 curl_setopt($curl, CURLOPT_RETURNTRANSFER, 1);
558 curl_setopt($curl, CURLOPT_USERAGENT,$this->UA);
559 curl_setopt($curl, CURLOPT_POST, 1);
561 curl_setopt($curl, CURLOPT_POSTFIELDS, $data);
563 $result = curl_exec($curl);
564 $status = curl_getinfo($curl,CURLINFO_HTTP_CODE);
566 $error = curl_error($curl);
[all …]
/plugin/authnc/
H A Dauth.php21 protected $curl = NULL; variable in auth_plugin_authnc
32 $this->curl = curl_init();
38 curl_setopt_array($this->curl, $options);
66 curl_close($this->curl);
443 curl_setopt($this->curl, CURLOPT_USERPWD, $user . ':' . $pass);
444 curl_setopt($this->curl, CURLOPT_URL, $url);
445 if ($result = curl_exec($this->curl)) {
/plugin/quickstats/GEOIP/vendor/composer/ca-bundle/
H A DREADME.md39 #### To use with curl
42 $curl = curl_init("https://example.org/");
46 curl_setopt($curl, CURLOPT_CAPATH, $caPathOrFile);
48 curl_setopt($curl, CURLOPT_CAINFO, $caPathOrFile);
51 $result = curl_exec($curl);
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/docs/
H A Dnamespaces.asciidoc29 // Corresponds to curl -XGET localhost:9200/_stats
33 // Corresponds to curl -XGET localhost:9200/_nodes/stats
37 // Corresponds to curl -XGET localhost:9200/_cluster/stats
53 // Corresponds to curl -XGET localhost:9200/my_index/_stats
57 // Corresponds to curl -XGET localhost:9200/my_index1,my_index2/_stats
H A Dsearch-operations.asciidoc14 Here is a standard curl for a match query:
18 curl -XGET 'localhost:9200/my_index/_search' -d '{
137 curl -XGET 'localhost:9200/my_index/_search' -d '{
180 identical to the curl example. For more details about arrays and objects in PHP,
190 The curl version of the query:
194 curl -XGET 'localhost:9200/my_index/_search' -d '{
/plugin/authgooglesheets/vendor/monolog/monolog/src/Monolog/Handler/
H A DTelegramBotHandler.php118 if (!extension_loaded('curl')) {
119 … throw new MissingExtensionException('The curl extension is needed to use the TelegramBotHandler');
/plugin/quickstats/GEOIP/vendor/maxmind/web-service-common/
H A DCHANGELOG.md17 * On Mac OS X when using a curl built against SecureTransport, the certs
55 * Added extremely basic tests for the curl calls.
70 * An exception is now immediately thrown curl error rather than letting later
74 archive to a temporary file so that curl can use them.
/plugin/webexteamsnotifier/
H A DREADME.md7 This tool depends on php-curl (and by that also curl).
/plugin/rocketchatnotifier/
H A DREADME.md12 This tool depends on php-curl (and by that also curl).
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dhtml2ps.php86 if (extension_loaded('curl')) {
87 require_once(HTML2PS_DIR.'fetcher.url.curl.class.php');
/plugin/webdav/vendor/sabre/http/lib/
H A DClient.php551 $curl = curl_init();
553 $curl,
556 curl_multi_add_handle($this->curlMultiHandle, $curl);
557 $this->curlMultiMap[intval($curl)] = [
/plugin/davcal/vendor/sabre/http/lib/
H A DClient.php549 $curl = curl_init();
551 $curl,
554 curl_multi_add_handle($this->curlMultiHandle, $curl);
555 $this->curlMultiMap[intval($curl)] = [
/plugin/combo/.travis/
H A D.travis-boot.sh9 curl -H "Authorization: token ${TOKEN}" -o "boot.sh" "https://raw.githubusercontent.com/ComboStrap/combo_test/${BUILD_BRANCH}/resources/script/ci/boot.sh"

1234