Home
last modified time | relevance | path

Searched refs:httpclient_t (Results 1 – 25 of 25) sorted by relevance

/AliOS-Things-master/components/http/include/
A Dhttpclient.h69 } httpclient_t; typedef
96 HTTPC_RESULT httpclient_get(httpclient_t *client, const char *url, httpclient_data_t *client_data);
105 HTTPC_RESULT httpclient_head(httpclient_t *client, const char *url, httpclient_data_t *client_data);
114 HTTPC_RESULT httpclient_post(httpclient_t *client, const char *url, httpclient_data_t *client_data);
123 HTTPC_RESULT httpclient_put(httpclient_t *client, const char *url, httpclient_data_t *client_data);
132 HTTPC_RESULT httpclient_delete(httpclient_t *client, const char *url, httpclient_data_t *client_dat…
165 HTTPC_RESULT httpclient_conn(httpclient_t *client, const char *url);
183 HTTPC_RESULT httpclient_recv(httpclient_t *client, httpclient_data_t *client_data);
190 void httpclient_clse(httpclient_t *client);
198 void httpclient_set_custom_header(httpclient_t *client, char *header);
[all …]
/AliOS-Things-master/components/http/internal/
A Dhttp_wrappers.h29 int http_tcp_conn_wrapper(httpclient_t *client, const char *host);
30 int http_tcp_close_wrapper(httpclient_t *client);
31 int http_tcp_send_wrapper(httpclient_t *client, const char *data, int length);
32 int http_tcp_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_…
35 int http_ssl_conn_wrapper(httpclient_t *client, const char *host);
36 int http_ssl_close_wrapper(httpclient_t *client);
37 int http_ssl_send_wrapper(httpclient_t *client, const char *data, size_t length);
38 int http_ssl_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_…
A Dhttp_form_data.h30 int httpclient_send_formdata(httpclient_t *client, httpclient_data_t *client_data);
/AliOS-Things-master/components/linkkit/include/linkkit/infra/
A Dinfra_httpc.h78 } httpclient_t; typedef
94 int iotx_post(httpclient_t *client, const char *url, int port,
97 int httpclient_recv_response(httpclient_t *client, uint32_t timeout_ms,
100 int httpclient_common(httpclient_t *client, const char *url, int port,
104 void httpclient_close(httpclient_t *client);
/AliOS-Things-master/components/http/src/
A Dhttp_method_api.c12 static HTTPC_RESULT httpclient_common(httpclient_t *client, const char *url, int method, httpclient… in httpclient_common()
38 HTTPC_RESULT httpclient_get(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_get()
54 HTTPC_RESULT httpclient_head(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_head()
70 HTTPC_RESULT httpclient_post(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_post()
86 HTTPC_RESULT httpclient_put(httpclient_t *client, const char *url, httpclient_data_t *client_data) in httpclient_put()
102 HTTPC_RESULT httpclient_delete(httpclient_t *client, const char *url, httpclient_data_t *client_dat… in httpclient_delete()
A Dhttp_aos_wrapper.c49 int http_tcp_conn_wrapper(httpclient_t *client, const char *host) in http_tcp_conn_wrapper()
90 int http_tcp_close_wrapper(httpclient_t *client) in http_tcp_close_wrapper()
97 int http_tcp_send_wrapper(httpclient_t *client, const char *data, int length) in http_tcp_send_wrapper()
117 int http_tcp_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_… in http_tcp_recv_wrapper()
187 int http_ssl_send_wrapper(httpclient_t *client, const char *data, size_t length) in http_ssl_send_wrapper()
236 int http_ssl_conn_wrapper(httpclient_t *client, const char *host) in http_ssl_conn_wrapper()
404 int http_ssl_close_wrapper(httpclient_t *client) in http_ssl_close_wrapper()
435 int http_ssl_recv_wrapper(httpclient_t *client, char *buf, int buflen, int timeout_ms, int *p_read_… in http_ssl_recv_wrapper()
A Dhttp_client.c151 void httpclient_set_custom_header(httpclient_t *client, char *header) in httpclient_set_custom_header()
156 int httpclient_basic_auth(httpclient_t *client, char *user, char *password) in httpclient_basic_auth()
166 static int httpclient_send_auth(httpclient_t *client, char *send_buf, int *send_idx) in httpclient_send_auth()
351 static int httpclient_send_userdata(httpclient_t *client, httpclient_data_t *client_data) in httpclient_send_userdata()
384 static int httpclient_recv_data(httpclient_t *client, char *buf, int min_len, int max_len, int *p_r… in httpclient_recv_data()
590 static int httpclient_response_parse(httpclient_t *client, char *data, int len, httpclient_data_t *… in httpclient_response_parse()
723 HTTPC_RESULT httpclient_conn(httpclient_t *client, const char *url) in httpclient_conn()
800 HTTPC_RESULT httpclient_send(httpclient_t *client, const char *url, int method, httpclient_data_t *… in httpclient_send()
822 HTTPC_RESULT httpclient_recv(httpclient_t *client, httpclient_data_t *client_data) in httpclient_recv()
877 void httpclient_clse(httpclient_t *client) in httpclient_clse()
[all …]
A Dhttp_formdata.c313 int httpclient_send_formdata(httpclient_t *client, httpclient_data_t *client_data) in httpclient_send_formdata()
/AliOS-Things-master/components/http/
A DREADME.md135 HTTPC_RESULT httpclient_get(httpclient_t *client, char *url, httpclient_data_t *client_data)
146 HTTPC_RESULT httpclient_post(httpclient_t *client, char *url, httpclient_data_t *client_data)
157 HTTPC_RESULT httpclient_put(httpclient_t *client, char *url, httpclient_data_t *client_data)
168 HTTPC_RESULT httpclient_delete(httpclient_t *client, char *url, httpclient_data_t *client_data)
179 HTTPC_RESULT httpclient_conn(httpclient_t *client, const char *url)
190 HTTPC_RESULT httpclient_send(httpclient_t *client, const char *url, int method, httpclient_data_t *…
202 HTTPC_RESULT httpclient_recv(httpclient_t *client, httpclient_data_t *client_data)
212 void httpclient_clse(httpclient_t *client)
221 void httpclient_set_custom_header(httpclient_t *client, char *header)
231 int httpclient_get_response_code(httpclient_t *client)
/AliOS-Things-master/components/linkkit/infra/
A Dinfra_httpc.c47 static int _http_recv(httpclient_t *client, char *buf, int max_len,
52 static int _http_parse_response_header(httpclient_t *client, char *data,
95 httpclient_t *client, char *send_buf, int *send_idx, char *buf, in _utils_fill_tx_buffer()
129 static int _http_send_header(httpclient_t *client, const char *host, in _http_send_header()
214 static int _http_recv(httpclient_t *client, char *buf, int max_len, in _http_recv()
299 static int _http_get_response_body(httpclient_t *client, char *data, in _http_get_response_body()
461 int httpclient_connect(httpclient_t *client) in httpclient_connect()
557 void httpclient_close(httpclient_t *client) in httpclient_close()
566 static int _http_send(httpclient_t *client, const char *url, int port, in _http_send()
638 int iotx_post(httpclient_t *client, const char *url, int port, in iotx_post()
[all …]
/AliOS-Things-master/components/ota/ota_agent/download/
A Dota_download_file2fs_http.c17 int ota_httpc_request_send(httpclient_t *client, char *url, httpclient_data_t *client_data);
18 int ota_httpc_recv_data(httpclient_t *client, httpclient_data_t *client_data);
19 int ota_httpc_settings_init(httpclient_t *client, httpclient_data_t *client_data);
20 void ota_httpc_settings_destory(httpclient_t *client);
47 httpclient_t client = {0}; in ota_download_store_fs_start()
A Dota_download_http.c63 int ota_httpc_settings_init(httpclient_t *client, httpclient_data_t *client_data) in ota_httpc_settings_init()
93 void ota_httpc_settings_destory(httpclient_t *client) in ota_httpc_settings_destory()
108 int ota_httpc_request_send(httpclient_t *client, char *url, httpclient_data_t *client_data) in ota_httpc_request_send()
131 int ota_httpc_recv_data(httpclient_t *client, httpclient_data_t *client_data) in ota_httpc_recv_data()
208 httpclient_t client = { 0 }; in ota_download_image_header()
369 httpclient_t client = {0}; in ota_download_start()
/AliOS-Things-master/components/linkkit/http2/
A Diotx_http2.c36 extern int httpclient_connect(httpclient_t *client);
55 httpclient_t *client; in send_callback()
72 client = (httpclient_t *)connection->network; in send_callback()
100 httpclient_t *client; in recv_callback()
107 client = (httpclient_t *)connection->network; in recv_callback()
525 static int http2_client_conn(httpclient_t *pclient, char *url, int port) in http2_client_conn()
651 ret = http2_client_conn((httpclient_t *)pclient, url, port); in iotx_http2_client_connect()
709 ret = http2_client_conn((httpclient_t *)pclient, url, port); in iotx_http2_client_connect_with_cb()
757 httpclient_close((httpclient_t *)conn->network); in iotx_http2_client_disconnect()
A Dhttp2_api.c58 static httpclient_t g_client;
510 memset(&g_client, 0, sizeof(httpclient_t)); in IOT_HTTP2_Connect()
/AliOS-Things-master/components/http/example/
A Dhttp_example.c22 httpclient_t client = {0}; in http_comp_example()
/AliOS-Things-master/components/ucloud_ai/src/
A Ducloud_ai_common.c18 httpclient_t ai_client = { 0 };
/AliOS-Things-master/components/ucamera/src/device/wifi/
A Dwifi_camera.c21 static httpclient_t wifi_camera_client = { 0 };
/AliOS-Things-master/components/ulog/src/
A Dulog_session_file.c84 static httpclient_t *httpc_handle = NULL;
152 httpc_handle = (httpclient_t *)aos_malloc(sizeof(httpclient_t)); in http_start()
/AliOS-Things-master/components/py_engine/external/app_mgr/
A Dapp_mgr.c103 httpclient_t client = { 0 }; in task_http_download_func()
/AliOS-Things-master/components/py_engine/modules/network/http/
A Dhttputility.c159 httpclient_t client = { 0 }; in task_http_download_func()
214 httpclient_t client = { 0 }; in task_http_request_func()
A Dhttpclient.c42 httpclient_t client;
83 httpclient_t client = { 0 }; in http_client_new()
578 httpclient_t client = { 0 }; in task_http_download_func()
A Dmodhttp.c184 httpclient_t client = { 0 }; in task_http_download_func()
279 httpclient_t client = { 0 }; in task_http_request_func()
/AliOS-Things-master/components/amp/engine/duktape_engine/addons/network/http/
A Dmodule_http.c166 httpclient_t client = {0}; in task_http_download_func()
214 httpclient_t client = {0}; in task_http_request_func()
/AliOS-Things-master/components/uvoice/application/alicloudtts/
A Dalicloudtts.c181 httpclient_t client = { 0 }; in http_download()
/AliOS-Things-master/components/amp/engine/quickjs_engine/addons/network/http/
A Dmodule_http.c152 httpclient_t client = { 0 }; in http_download_func()
266 httpclient_t client = { 0 }; in task_http_request_func()

Completed in 32 milliseconds