sitara-http:C ++ 11 curl库,用于同时使用阻塞和异步curl请求。 同时支持openFrameworks和cinder

时间:2021-05-27 17:09:15
【文件属性】:
文件名称:sitara-http:C ++ 11 curl库,用于同时使用阻塞和异步curl请求。 同时支持openFrameworks和cinder
文件大小:84KB
文件格式:ZIP
更新时间:2021-05-27 17:09:15
C++ 西塔拉-http 一个包装程序,用于简化使用libcurl在网络上进行REST API调用的情况。 要求 卷曲 该库使用libcurl 。 最简单的方法是通过 : git clone https://github.com/microsoft/vcpkg/ cd vcpkg ./bootstrap-vcpkg.bat ./vcpkg.exe install curl[ssl]:x64-windows ./vcpkg.exe integrate install 用法 对于所有用例,您将需要通过调用来创建ofxCurl的实例 std::shared_ptr curl_instance = Curl::HTTPClient::make(); 这将创建一个cURL实例,该实例将管理所有网络调用。 所有请求均以HTTPRequest结构开头: HTT
【文件预览】:
sitara-http-master
----src()
--------HttpClient.cpp(17KB)
----examples()
--------simpleHttpRequestExample()
--------multiHttpRequestExample()
----config()
--------sitara-http-example-release.props(955B)
--------sitara-http-example.props(947B)
----LICENSE.md(1KB)
----README.md(2KB)
----proj()
--------framework.h(207B)
--------sitara-http.vcxproj(8KB)
--------sitara-http.cpp(93B)
--------sitara-http.vcxproj.filters(1KB)
----.gitignore(4KB)
----include()
--------HTTPCLIENT.H(3KB)

网友评论