TuyaOS
|
#include <httpc.h>
成员变量 | |
HTTP_HEAD_ADD_CB | add_head_cb |
VOID * | add_head_data |
const char * | content |
int | content_len |
unsigned int | download_offset |
unsigned int | download_size |
http_custom_content_ctx_s * | p_custom_content_ctx |
unsigned char | redirect_cnt |
const char * | resource |
http_method_t | type |
http_ver_t | version |
The HTTP Client's Request structure
const char* http_req_t::content |
Pointer to data buffer. NULL if GET request
int http_req_t::content_len |
The length of the data pointed to by content above. This is don't-care if the content is set to NULL
unsigned char http_req_t::redirect_cnt |
initialzied redirect count, default is zero
const char* http_req_t::resource |
The target resource for the HTTP Request. A complete URL is also accepted.
http_method_t http_req_t::type |
The Type of HTTP Request
http_ver_t http_req_t::version |
The HTTP Protocol Version