#include <curl/curl.h>
Go to the source code of this file.
|
int | http_get (ConnInfo *conn, GlobalInfo *g) |
|
void | set_url (ConnInfo *conn, const char *url) |
|
int | curl_init (HttpClient *) |
|
ConnInfo * | new_conn (HttpConnection *connection, GlobalInfo *g, bool header, bool short_timeout, bool reuse) |
|
void | del_conn (HttpConnection *connection, GlobalInfo *g) |
|
void | del_curl_handle (ConnInfo *curl_handle, GlobalInfo *g) |
|
void | set_header_options (ConnInfo *conn, const char *options) |
|
void | set_ssl_options (ConnInfo *conn, const char *client_cert, const char *client_cert_type, const char *client_key, const char *ca_cert) |
|
void | set_post_string (ConnInfo *conn, const char *post, uint32_t len) |
|
void | set_put_string (ConnInfo *conn, const char *put, uint32_t len) |
|
int | http_head (ConnInfo *conn, GlobalInfo *g) |
|
int | http_put (ConnInfo *conn, GlobalInfo *g) |
|
int | http_post (ConnInfo *conn, GlobalInfo *g) |
|
int | http_delete (ConnInfo *conn, GlobalInfo *g) |
|
bool | timer_cb (GlobalInfo *g) |
|
◆ NOEXCEPT
◆ set_curl_option
#define set_curl_option |
( |
|
handle, |
|
|
|
option, |
|
|
|
parameter |
|
) |
| |
Value:do { \
curl_easy_setopt(handle, option, parameter); \
} while (0)
Definition at line 16 of file http_curl.h.
◆ ConnInfo
◆ GlobalInfo
◆ SockInfo
◆ curl_init()
◆ del_conn()
◆ del_curl_handle()
◆ http_delete()
◆ http_get()
◆ http_head()
◆ http_post()
◆ http_put()
◆ new_conn()
◆ set_header_options()
void set_header_options |
( |
ConnInfo * |
conn, |
|
|
const char * |
options |
|
) |
| |
◆ set_post_string()
void set_post_string |
( |
ConnInfo * |
conn, |
|
|
const char * |
post, |
|
|
uint32_t |
len |
|
) |
| |
◆ set_put_string()
void set_put_string |
( |
ConnInfo * |
conn, |
|
|
const char * |
put, |
|
|
uint32_t |
len |
|
) |
| |
◆ set_ssl_options()
void set_ssl_options |
( |
ConnInfo * |
conn, |
|
|
const char * |
client_cert, |
|
|
const char * |
client_cert_type, |
|
|
const char * |
client_key, |
|
|
const char * |
ca_cert |
|
) |
| |
◆ set_url()
void set_url |
( |
ConnInfo * |
conn, |
|
|
const char * |
url |
|
) |
| |
◆ timer_cb()
◆ curl_error_category