HTTP_C::Implement Context::MakeRequest (#4754)

* HTTP_C::Implement Context::MakeRequest

* httplib: Add add_client_cert_ASN1 and set_verify

* HTTP_C: Fix request methode strings case in MakeRequest

* HTTP_C: clang-format and cleanups

* HTTP_C: Add comment about async in BeginRequest and BeginRequestAsync

* Update httplib to contain all the changes we need; adapt http_c and web_services to the changes in httplib; addressed minor review comments

* Add android-ifaddrs
This commit is contained in:
Ben 2020-02-21 19:04:04 +01:00 committed by GitHub
parent 996f1546b2
commit e3dbdcbdff
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
11 changed files with 5103 additions and 1904 deletions

View file

@ -96,9 +96,14 @@ if (ENABLE_WEB_SERVICE)
# lurlparser
add_subdirectory(lurlparser EXCLUDE_FROM_ALL)
if(ANDROID)
add_subdirectory(android-ifaddrs)
endif()
# httplib
add_library(httplib INTERFACE)
target_include_directories(httplib INTERFACE ./httplib)
target_compile_options(httplib INTERFACE -DCPPHTTPLIB_OPENSSL_SUPPORT)
# cpp-jwt
add_library(cpp-jwt INTERFACE)