Analysis on the Application of CURL library in C ++ program, curl Analysis
Recently, I have been reading this article because I want to crawl many websites for a crawler project. After reading a lot of information, I downloaded a curl library, which is of great help to the project.
I. LibCurl BASIC Programming Framework II. Some basic functions III. Introduction to some options of the curl_easy_setopt function IV. curl_easy_perform function description (error Status Code) v. HTTP message headers used by libcurl
6. Obtain the http response header information. 7. multithreading issues 8. When libcurl cannot work normally. 9. Password 10, HTTP Verification 11, and code example 1. basic http GET/POST operations 2 GET html webpage 3 download page save instance 4 progress bar instance display file download progress 5 resumable download instance
I. Basic LibCurl programming framework
Libcurl is a cross-platform network protocol library that supports http, https, ftp, gopher, telnet, dict, file, and ldap protocols. Libcurl also supports HTTPS certificate authorization, http post, http put, FTP upload, HTTP basic form upload, proxy, cookies, and user authentication. Want to know