zoukankan      html  css  js  c++  java
  • libcurl库进行http通讯-开篇

    从今天開始介绍一些经常使用的库。


    首先就来写一写关于libcurl库。

    libcurl主要功能就是用不同的协议连接和沟通不同的server~也就是相当封装了的sockPHP 支持libcurl(同意你用不同的协议连接和沟通不同的server)。, libcurl当前支持http, https, ftp, gopher, telnet, dict, file, 和ldap 协议。

    libcurl相同支持HTTPS证书授权,HTTP POST, HTTP PUT, FTP 上传(当然你也能够使用PHP的ftp扩展), HTTP基本表单上传,代理,cookies,和用户认证。

    curl is an open source command line tool and library for transferring data with URL syntax, supporting 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 tunneling and more.

    What’s curl used for?
    curl is used in command lines or scripts to transfer data. It is also used in cars, television sets, routers, printers, audio equipment, mobile phones, tablets, settop boxes, media players and is the internet transfer backbone for thousands of software applications totally affecting more than one billion users.

    Who makes curl?

    curl is free and open software that compiles and runs under a wide variety of operating systems. curl exists thanks to thousands of contributors.

    What’s the latest curl?


    The most recent stable version is 7.47.1, released on 8th of February 2016. Currently, 79 of the listed downloads are of the latest version.

    Where’s the code?

    Check out the latest source code from github.

    下载地址:
    https://curl.haxx.se/

    github地址:
    https://github.com/curl/curl

    win32 in the table means that the package runs on Windows 95, 98, ME, NT 3, NT 4, 2000, XP and similar Operating Systems.

  • 相关阅读:
    简单的排列问题的总结
    php学习
    入门shader,并实现normal mapping on earth
    github 操作查阅 创建仓库 代码更新
    Debian WSL desktop install on windows 10
    使用python三元运算if else
    搜索引擎语法整理
    个人小程序学习笔记,会持续学习并更新!
    Windows Form父子两个窗体之间的传值测试
    Asp.netCore 3.0 Web 实现Oauth2.0微信授权登陆的测试
  • 原文地址:https://www.cnblogs.com/yfceshi/p/7339561.html
Copyright © 2011-2022 走看看