https_client.h 300 B

1234567891011
  1. #ifndef NETDATA_HTTPS_CLIENT_H
  2. #define NETDATA_HTTPS_CLIENT_H
  3. typedef enum http_req_type {
  4. HTTP_REQ_GET,
  5. HTTP_REQ_POST
  6. } http_req_type_t;
  7. int https_request(http_req_type_t method, char *host, int port, char *url, char *b, size_t b_size, char *payload);
  8. #endif /* NETDATA_HTTPS_CLIENT_H */