blob: 0d2e0dba7e42011022db9b5bf09b5d2f1b5abb28 (
plain)
1
2
3
4
5
6
7
8
9
10
11
|
#ifndef NETDATA_HTTPS_CLIENT_H
#define NETDATA_HTTPS_CLIENT_H
typedef enum http_req_type {
HTTP_REQ_GET,
HTTP_REQ_POST
} http_req_type_t;
int https_request(http_req_type_t method, char *host, int port, char *url, char *b, size_t b_size, char *payload);
#endif /* NETDATA_HTTPS_CLIENT_H */
|