• 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.

  • 相关阅读:
    使用 RestSharp 调用 WebAPI 接口
    Android Studio 下载安装目录
    多线程之await/async
    ScriptX进行Web打印
    Sqlserver 查询最新修改过的表、过程和视图等
    SqlServer中的bit类型
    .Net 6
    PDA 使用总结
    SQL Server 发布订阅 发布类型详解
    Profile对象
  • 原文地址:https://www.cnblogs.com/yfceshi/p/7339561.html
Copyright © 2020-2023  润新知