|
luat_soc_sdk_2024 V1.0
|
#include <luat_http.h>
成员变量 | |
| network_ctrl_t * | netc |
| http_parser | parser |
| char * | host |
| char * | request_line |
| uint16_t | remote_port |
| uint8_t | is_tls |
| uint8_t | custom_host |
| uint8_t | is_post |
| void * | timeout_timer |
| uint32_t | timeout |
| uint32_t | tx_offset |
| Buffer_Struct | request_head_buffer |
| luat_http_cb | http_cb |
| void * | http_cb_userdata |
| Buffer_Struct | response_head_buffer |
| int | error_code |
| Buffer_Struct | response_cache |
| uint32_t | total_len |
| uint32_t | done_len |
| uint32_t | offset |
| uint8_t | retry_cnt_max |
| uint8_t | retry_cnt |
| uint8_t | state |
| uint8_t | data_mode |
| uint8_t | is_pause |
| uint8_t | debug_onoff |
| uint8_t | new_data |
在文件 luat_http.h 第 70 行定义.
| uint8_t custom_host |
是否自定义Host了
在文件 luat_http.h 第 77 行定义.
| uint8_t data_mode |
在文件 luat_http.h 第 138 行定义.
| uint8_t debug_onoff |
在文件 luat_http.h 第 140 行定义.
| uint32_t done_len |
在文件 luat_http.h 第 133 行定义.
| int error_code |
在文件 luat_http.h 第 130 行定义.
| char* host |
http host,需要释放
在文件 luat_http.h 第 73 行定义.
| luat_http_cb http_cb |
http 回调函数
在文件 luat_http.h 第 127 行定义.
| void* http_cb_userdata |
http 回调函数用户传参
在文件 luat_http.h 第 128 行定义.
| uint8_t is_pause |
在文件 luat_http.h 第 139 行定义.
| uint8_t is_post |
在文件 luat_http.h 第 78 行定义.
| uint8_t is_tls |
在文件 luat_http.h 第 76 行定义.
| network_ctrl_t* netc |
在文件 luat_http.h 第 71 行定义.
| uint8_t new_data |
在文件 luat_http.h 第 141 行定义.
| uint32_t offset |
在文件 luat_http.h 第 134 行定义.
| http_parser parser |
在文件 luat_http.h 第 72 行定义.
| uint16_t remote_port |
远程端口号
在文件 luat_http.h 第 75 行定义.
| Buffer_Struct request_head_buffer |
存放用户自定义的请求head数据
在文件 luat_http.h 第 126 行定义.
| char* request_line |
需要释放,http请求的首行数据
在文件 luat_http.h 第 74 行定义.
| Buffer_Struct response_cache |
在文件 luat_http.h 第 131 行定义.
| Buffer_Struct response_head_buffer |
接收到的head数据缓存,回调给客户后就销毁了
在文件 luat_http.h 第 129 行定义.
| uint8_t retry_cnt |
在文件 luat_http.h 第 136 行定义.
| uint8_t retry_cnt_max |
最大重试次数
在文件 luat_http.h 第 135 行定义.
| uint8_t state |
在文件 luat_http.h 第 137 行定义.
| uint32_t timeout |
在文件 luat_http.h 第 80 行定义.
| void* timeout_timer |
timeout_timer 定时器
在文件 luat_http.h 第 79 行定义.
| uint32_t total_len |
在文件 luat_http.h 第 132 行定义.
| uint32_t tx_offset |
在文件 luat_http.h 第 81 行定义.