TuyaOS
成员变量
S_HTTP_MANAGER结构体 参考

The HTTP session manager structure. 更多...

#include <http_manager.h>

S_HTTP_MANAGER 的协作图:
Collaboration graph
[图例]

成员变量

FUNC_HTTP_SESSION_CREATE create_http_session
 
FUNC_HTTP_SESSION_CREATE_TLS create_http_session_tls
 
FUNC_HTTP_SESSION_DESTORY destory_http_session
 
BOOL_T inited
 
MUTEX_HANDLE mutex
 
FUNC_HTTP_SESSION_RECEIVE_DATA receive_http_data
 
FUNC_HTTP_SESSION_RECEIVE receive_http_response
 
FUNC_HTTP_SESSION_SEND send_http_request
 
S_HTTP_SESSIONsession [16]
 

详细描述

The HTTP session manager structure.

结构体成员变量说明

◆ create_http_session

FUNC_HTTP_SESSION_CREATE S_HTTP_MANAGER::create_http_session

handler to create HTTP session

◆ create_http_session_tls

FUNC_HTTP_SESSION_CREATE_TLS S_HTTP_MANAGER::create_http_session_tls

handler to create HTTPS session with TLS config

◆ destory_http_session

FUNC_HTTP_SESSION_DESTORY S_HTTP_MANAGER::destory_http_session

handler to destroy HTTP session

◆ inited

BOOL_T S_HTTP_MANAGER::inited

session manager inited or not

◆ mutex

MUTEX_HANDLE S_HTTP_MANAGER::mutex

exclusive access to session resources

◆ receive_http_data

FUNC_HTTP_SESSION_RECEIVE_DATA S_HTTP_MANAGER::receive_http_data

handler to recv response content from HTTP session

◆ receive_http_response

FUNC_HTTP_SESSION_RECEIVE S_HTTP_MANAGER::receive_http_response

handler to recv response header from HTTP session

◆ send_http_request

FUNC_HTTP_SESSION_SEND S_HTTP_MANAGER::send_http_request

handler to send HTTP session request

◆ session

S_HTTP_SESSION* S_HTTP_MANAGER::session[16]

session resources


该结构体的文档由以下文件生成: