http_client_libcurl.h
Go to the documentation of this file.
1 
12 #ifndef HTTP_CLIENT_LIBCURL_H_
13 #define HTTP_CLIENT_LIBCURL_H_
14 
16 
17 // If you want to use libcurl as static library, define CURL_STATICLIB before including curl.h otherwise linker won't be able to find __impl_* functions
18 
19 #include "curl/curl.h"
20 
21 #define SSL_CERTIFICATE_TYPE_PEM "PEM"
22 
23 struct mcl_http_client_t
24 {
25  CURL *curl;
27 };
28 
29 #endif //HTTP_CLIENT_LIBCURL_H_
HTTP client interface header file.
CURL * curl
Curl handle.
mcl_list_t * certificates
List of server certificates.