60 #if CONFIG_HTTP_SECURE
61 const char *server_cert;
62 const char *client_cert;
63 const char *client_pk;
HTTPC_RESULT httpclient_unprepare(httpclient_data_t *client_data)
void httpclient_set_custom_header(httpclient_t *client, char *header)
HTTPC_RESULT httpclient_recv(httpclient_t *client, httpclient_data_t *client_data)
HTTPC_RESULT httpclient_post(httpclient_t *client, const char *url, httpclient_data_t *client_data)
HTTPC_RESULT httpclient_conn(httpclient_t *client, const char *url)
HTTPC_RESULT httpclient_send(httpclient_t *client, const char *url, int method, httpclient_data_t *client_data)
void httpclient_reset(httpclient_data_t *client_data)
int httpclient_get_response_code(httpclient_t *client)
HTTPC_RESULT httpclient_head(httpclient_t *client, const char *url, httpclient_data_t *client_data)
int httpclient_formdata_addfile(httpclient_data_t *client_data, char *content_disposition, char *name, char *content_type, char *file_path)
HTTPC_RESULT
http error code
void httpclient_clse(httpclient_t *client)
int httpclient_get_response_header_value(char *header_buf, char *name, int *val_pos, int *val_len)
HTTPC_RESULT httpclient_prepare(httpclient_data_t *client_data, int header_size, int resp_size)
HTTPC_RESULT httpclient_delete(httpclient_t *client, const char *url, httpclient_data_t *client_data)
HTTPC_RESULT httpclient_put(httpclient_t *client, const char *url, httpclient_data_t *client_data)
int httpclient_formdata_addtext(httpclient_data_t *client_data, char *content_disposition, char *content_type, char *name, char *data, int data_len)
HTTP_REQUEST_TYPE
http requst type
HTTPC_RESULT httpclient_get(httpclient_t *client, const char *url, httpclient_data_t *client_data)
This structure defines the HTTP data structure.
This structure defines the httpclient_t structure