Home
last modified time | relevance | path

Searched refs:curl (Results 1 – 25 of 95) 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/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/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/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/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/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.asciidoc11 Here is a standard curl for a Match query:
15 curl -XGET 'localhost:9200/my_index/_search' -d '{
125 curl -XGET 'localhost:9200/my_index/_search' -d '{
164 so the final resulting output will be identical to the curl example. For more details about arrays…
172 The curl version of the query:
176 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/elasticsearch/vendor/guzzlehttp/ringphp/docs/
H A Dclient_handlers.rst73 When using the CurlHandler, custom curl options can be specified as an
74 associative array of `cURL option constants <http://php.net/manual/en/curl.constants.php>`_
75 mapping to values in the ``client`` option of a requst using the **curl** key.
86 'client' => ['curl' => [CURLOPT_LOW_SPEED_LIMIT => 10]]
103 cURL's `multi API <http://curl.haxx.se/libcurl/c/libcurl-multi.html>`_. The
135 Just like the ``CurlHandler``, the ``CurlMultiHandler`` accepts custom curl
136 option in the ``curl`` key of the ``client`` request option.
/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/elasticsearch/vendor/guzzlehttp/ringphp/tests/Client/
H A DCurlMultiHandlerTest.php178 $this->assertEquals(CURLE_COULDNT_CONNECT, $response['curl']['errno']);
179 $this->assertNotEmpty($response['curl']['error']);
/plugin/combo/
H A D.travis-boot.sh9 curl -H "Authorization: token ${TOKEN}" -o "boot.sh" "https://raw.githubusercontent.com/ComboStrap/…
/plugin/html2pdf/html2pdf/html2ps/demo/
H A Dhtml2ps.php86 if (extension_loaded('curl')) {
87 require_once(HTML2PS_DIR.'fetcher.url.curl.class.php');
/plugin/elasticsearch/vendor/elasticsearch/elasticsearch/travis/
H A Dgenerate_docs.sh3 curl -O http://get.sensiolabs.org/sami.phar

1234