18#ifndef __VSF_HTTP_CLIENT_H__
19#define __VSF_HTTP_CLIENT_H__
25#if defined(__VSF_HTTP_CLIENT_CLASS_IMPLEMENT)
26# define __VSF_CLASS_IMPLEMENT__
27#elif defined(__VSF_HTTP_CLIENT_CLASS_INHERIT__)
28# define __VSF_CLASS_INHERIT__
39 int (*fn_connect)(
void *param,
const char *host,
const char *port);
40 void (*fn_close)(
void *param);
76#if VSF_USE_MBEDTLS == ENABLED
Definition vsf_http_client.h:58
Definition vsf_http_client.h:37
unsigned short uint16_t
Definition lvgl.h:41
unsigned char uint8_t
Definition lvgl.h:40
#define vsf_class(__name)
Definition ooc_class.h:48
Definition vsf_http_client.h:46
const char * verb
Definition vsf_http_client.h:49
uint8_t * txdata
Definition vsf_http_client.h:54
char * header
Definition vsf_http_client.h:51
const char * host
Definition vsf_http_client.h:47
size_t txdata_len
Definition vsf_http_client.h:55
const char * port
Definition vsf_http_client.h:48
char * path
Definition vsf_http_client.h:52
void vsf_http_client_close(vsf_http_client_t *http)
Definition vsf_http_client.c:74
const vsf_http_op_t vsf_mbedtls_http_op
Definition vsf_http_client.c:47
void vsf_http_client_init(vsf_http_client_t *http)
Definition vsf_http_client.c:69
int vsf_http_client_request(vsf_http_client_t *http, vsf_http_client_req_t *req)
Definition vsf_http_client.c:79
int vsf_http_client_read(vsf_http_client_t *http, uint8_t *buf, uint16_t len)
Definition vsf_http_client.c:179