Because of the use of the open Source Library in the project team, I would like to dissect this open source library and see what's in it.
Curl Open source Project maintenance for many years, is still ongoing maintenance and refinement, providing network requests for command-line tools and libraries; The supported protocols are: DICT, FILE, FTP, FTPS, Gopher, HTTP, HTTPS, IMAP, IMAPS, LDAP, LDAPS, POP3, Pop3s, RTMP, RTSP, SCP, SFTP, SMB, SMTP, SMTPS, Telnet and TFTP. Curl supports SSL certificates, HTTP POST, HTTP PUT, FTP uploading, HTTP form based upload, proxies, HTTP/2, cookies, user +password Authentication (Basic, Plain, Digest, Cram-md5, NTLM, Negotiate and Kerberos), file transfer resume, proxy Tunne Ling and more. So visible, how powerful it is.
How to use: 1: On the command line, you can download some network resources by adding some parameters to the Curl command.
2: In the project, simplify the operation of the network request by introducing Libcurl:
1): Through the easy interface to use, easy structure is synchronous, efficiency comparison, easier to use, a lot of synchronization-based network request application degree is based on this writing. Reference URL Link:https://curl.haxx.se/libcurl/c/libcurl-easy.html
2): Through the Multi interface is used, this way is asynchronous, while supporting multi-threaded operation; Multi interface is: https://curl.haxx.se/libcurl/c/libcurl-multi.html
Use of Curl