Linux command line for you and me Documentation Release 0.1size . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 19 4 Curl! For all your web needs 21 4.1 Viewing a file . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.4 Making a POST request using curl . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 22 4.5 Following redirection . . . . . . . . . . . . . . . 27 4.11 Curl video/talk . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 28 4.12 Curl book . . . . . . . . . . . . . . . . .0 码力 | 128 页 | 716.99 KB | 1 年前3
Guzzle PHP 5.3 Documentationrequests over the wire (e.g., cURL, sockets, PHP’s stream wrapper, non-blocking event loops like React, etc.). • Guzzle makes it so that you no longer need to fool around with cURL options, stream contexts your system’s php.ini. 3. To use the cURL handler, you must have a recent version of cURL >= 7.16.2 compiled with OpenSSL and zlib. Note: Guzzle no longer requires cURL in order to send HTTP requests. Guzzle Guzzle will use the PHP stream wrapper to send HTTP requests if cURL is not installed. Alternatively, you can provide your own HTTP handler used to send requests. 1.1.2 Installation The recommended way0 码力 | 63 页 | 275.75 KB | 11 月前3
Guzzle PHP 6.5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.1 Does Guzzle require cURL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.2 Can Guzzle send asynchronous asynchronous requests? . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.3 How can I add custom cURL options? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.4 How can I add custom transport, allowing you to write environment and transport agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. • Middleware system allows you to augment and0 码力 | 50 页 | 237.04 KB | 11 月前3
Guzzle PHP v5 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 1.7.1 Does Guzzle require cURL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 42 1.7.2 Can Guzzle send asynchronous asynchronous requests? . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 1.7.3 How can I add custom cURL options? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 43 1.7.4 How can I add custom transport, allowing you to write environment and transport agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. • Middleware system allows you to augment and0 码力 | 49 页 | 231.08 KB | 11 月前3
Guzzle PHP 7.0 Documentation. . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.1 Does Guzzle require cURL? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.2 Can Guzzle send asynchronous asynchronous requests? . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.3 How can I add custom cURL options? . . . . . . . . . . . . . . . . . . . . . . . . . . . . . 44 1.7.4 How can I add custom transport, allowing you to write environment and transport agnostic code; i.e., no hard dependency on cURL, PHP streams, sockets, or non-blocking event loops. • Middleware system allows you to augment and0 码力 | 50 页 | 235.39 KB | 11 月前3
Tornado 6.1 Documentation
required). The following optional packages may be useful: • pycurl is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. • Twisted may be used with the classes in interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient. Applications may either instantiate their chosen implementation class directly or use for most users’ needs. However, some applications may wish to switch to curl_httpclient for reasons such as the following: • curl_httpclient has some features not found in simple_httpclient, including0 码力 | 245 页 | 904.24 KB | 1 年前3
Tornado 5.1 Documentation
install, the following optional packages may be useful: • pycurl is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. • Twisted may be used with the classes in interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient. Applications may either instantiate their chosen implementation class directly or use for most users’ needs. However, some applications may wish to switch to curl_httpclient for reasons such as the following: • curl_httpclient has some features not found in simple_httpclient, including0 码力 | 243 页 | 895.80 KB | 1 年前3
Cmake 实践FindHello.cmake 模块。 一,使用 FindCURL 模块 在/backup/cmake 目录建立 t5 目录,用于存放我们的 CURL 的例子。 建立 src 目录,并建立 src/main.c,内容如下: #include <curl/curl.h> #include#include #include FILE *fp; char * path = “/tmp/curl-test”; const char * mode = “w”; fp = fopen(path,mode); curl_global_init(CURL_GLOBAL_ALL); CURLcode res; CURL *curl = curl_easy_init(); curl_easy_setopt(curl, CURLOPT_URL, “http://www linux-ren.org”); curl_easy_setopt(curl, CURLOPT_WRITEFUNCTION, write_data); curl_easy_setopt(curl, CURLOPT_VERBOSE, 1); res = curl_easy_perform(curl); curl_easy_cleanup(curl); } 这段代码的作用是通过 curl 取回 www.linux-ren 0 码力 | 47 页 | 264.27 KB | 1 年前3
Tornado 6.0 Documentation
required). The following optional packages may be useful: • pycurl is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. • Twisted may be used with the classes in interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient. Applications may either instantiate their chosen implementation class directly or use for most users’ needs. However, some applications may wish to switch to curl_httpclient for reasons such as the following: • curl_httpclient has some features not found in simple_httpclient, including0 码力 | 245 页 | 885.76 KB | 1 年前3
Tornado 6.5 Documentationor newer. The following optional packages may be useful: • pycurl is used by the optional tornado.curl_httpclient. Libcurl version 7.22 or higher is required. • pycares is an alternative non-blocking interfaces. This module defines a common interface shared by two implementations, simple_httpclient and curl_httpclient. Applications may either instantiate their chosen implementation class directly or use for most users’ needs. However, some applications may wish to switch to curl_httpclient for reasons such as the following: • curl_httpclient has some features not found in simple_httpclient, including0 码力 | 272 页 | 1.12 MB | 3 月前3
共 983 条
- 1
- 2
- 3
- 4
- 5
- 6
- 99













