Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
C++ Requests is a simple wrapper around libcurl inspired by the excellent Python Requests project. Despite its name, libcurl's easy interface is anything but, and making mistakes misusing it is a common source of error and frustration. Using the more expressive language facilities of C++11, this library captures the essence of making network calls into a few concise idioms. WWW: https://whoshuu.github.io/cpr/ WWW: https://github.com/whoshuu/cpr
- Loading branch information
Showing
5 changed files
with
70 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,23 @@ | ||
# Created by: Po-Chuan Hsieh <sunpoet@FreeBSD.org> | ||
|
||
PORTNAME= cpr | ||
PORTVERSION= 1.6.2 | ||
CATEGORIES= ftp | ||
|
||
MAINTAINER= sunpoet@FreeBSD.org | ||
COMMENT= C++ Requests: Curl for People | ||
|
||
LICENSE= MIT | ||
LICENSE_FILE= ${WRKSRC}/LICENSE | ||
|
||
LIB_DEPENDS= libcurl.so:ftp/curl | ||
|
||
USES= cmake compiler:c++11-lang ssl | ||
|
||
CMAKE_OFF= CPR_BUILD_TESTS CPR_BUILD_TESTS_SSL CPR_CURL_NOSIGNAL CPR_FORCE_DARWINSSL_BACKEND CPR_FORCE_WINSSL_BACKEND CPR_GENERATE_COVERAGE CPR_USE_SYSTEM_GTEST | ||
CMAKE_ON= BUILD_SHARED_LIBS CPR_ENABLE_SSL CPR_FORCE_OPENSSL_BACKEND CPR_FORCE_USE_SYSTEM_CURL | ||
|
||
GH_ACCOUNT= whoshuu | ||
USE_GITHUB= yes | ||
|
||
.include <bsd.port.mk> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
TIMESTAMP = 1619910295 | ||
SHA256 (whoshuu-cpr-1.6.2_GH0.tar.gz) = c45f9c55797380c6ba44060f0c73713fbd7989eeb1147aedb8723aa14f3afaa3 | ||
SIZE (whoshuu-cpr-1.6.2_GH0.tar.gz) = 68856 |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,10 @@ | ||
C++ Requests is a simple wrapper around libcurl inspired by the excellent Python | ||
Requests project. | ||
|
||
Despite its name, libcurl's easy interface is anything but, and making mistakes | ||
misusing it is a common source of error and frustration. Using the more | ||
expressive language facilities of C++11, this library captures the essence of | ||
making network calls into a few concise idioms. | ||
|
||
WWW: https://whoshuu.github.io/cpr/ | ||
WWW: https://github.com/whoshuu/cpr |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
include/cpr/api.h | ||
include/cpr/auth.h | ||
include/cpr/bearer.h | ||
include/cpr/body.h | ||
include/cpr/callback.h | ||
include/cpr/connect_timeout.h | ||
include/cpr/cookies.h | ||
include/cpr/cpr.h | ||
include/cpr/cprtypes.h | ||
include/cpr/curl_container.h | ||
include/cpr/curlholder.h | ||
include/cpr/digest.h | ||
include/cpr/error.h | ||
include/cpr/limit_rate.h | ||
include/cpr/low_speed.h | ||
include/cpr/max_redirects.h | ||
include/cpr/multipart.h | ||
include/cpr/ntlm.h | ||
include/cpr/parameters.h | ||
include/cpr/payload.h | ||
include/cpr/proxies.h | ||
include/cpr/response.h | ||
include/cpr/session.h | ||
include/cpr/ssl_options.h | ||
include/cpr/status_codes.h | ||
include/cpr/timeout.h | ||
include/cpr/unix_socket.h | ||
include/cpr/user_agent.h | ||
include/cpr/util.h | ||
include/cpr/verbose.h | ||
lib/libcpr.so | ||
lib/libcpr.so.1 | ||
lib/libcpr.so.1.6 |