Home
last modified time | relevance | path

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

123

/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-captive-portal/
Dminimal-http-client-captive-portal.c88 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
94 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
128 lws_system_cpd_set(lws_get_context(wsi), in callback_cpd_http()
140 lws_system_cpd_set(lws_get_context(wsi), LWS_CPD_CAPTIVE_PORTAL); in callback_cpd_http()
147 lws_system_cpd_set(lws_get_context(wsi), LWS_CPD_NO_INTERNET); in callback_cpd_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-h2-rxflow/
Dminimal-http-client.c44 lws_sul_schedule(lws_get_context(pss->wsi), 0, &pss->sul, drain_cb, in drain_cb()
75 lws_sul_schedule(lws_get_context(wsi), 0, &pss->sul, drain_cb, in callback_http()
112 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
119 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
Dminimal-http-client-post.c44 lws_cancel_service(lws_get_context(wsi)); in callback_http()
54 lws_cancel_service(lws_get_context(wsi)); in callback_http()
90 lws_cancel_service(lws_get_context(wsi)); in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/
Dminimal-http-client.c212 try_connect(lws_get_context(wsi)); in callback_http()
218 lws_cancel_service(lws_get_context(wsi)); in callback_http()
318 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
325 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-echo/
Dprotocol_lws_minimal_client_echo.c121 vhd->context = lws_get_context(wsi); in callback_minimal_client_echo()
257 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_client_echo()
266 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_client_echo()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-hugeurl/
Dminimal-http-client-hugeurl.c115 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
121 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-custom-headers/
Dminimal-http-client-custom-headers.c111 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
117 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-attach/
Dminimal-http-client-attach.c89 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
95 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c82 lws_cancel_service(lws_get_context(wsi)); in callback_http()
178 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
184 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/gtk/minimal-gtk/
Dmain.c106 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
110 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-echo/
Dprotocol_lws_minimal_server_echo.c82 vhd->context = lws_get_context(wsi); in callback_minimal_server_echo()
214 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_server_echo()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-threadpool/
Dprotocol_lws_minimal_threadpool.c180 vhd->context = lws_get_context(wsi); in callback_minimal()
196 vhd->tp = lws_threadpool_create(lws_get_context(wsi), in callback_minimal()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-serial/
Dminimal-raw-file.c42 lws_sul_schedule(lws_get_context(v->wsi), 0, &v->sul, sul_cb, in sul_cb()
144 lws_sul_schedule(lws_get_context(wsi), 0, &vhd->sul, sul_cb, 1); in callback_raw_test()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-certinfo/
Dminimal-http-client-certinfo.c137 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
143 lws_cancel_service(lws_get_context(wsi)); /* abort poll wait */ in callback_http()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-spam/
Dminimal-ws-client-spam.c115 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_spam()
133 lws_cancel_service(lws_get_context(wsi)); in callback_minimal_spam()
/third_party/libwebsockets/minimal-examples/ws-client/minimal-ws-client-binance/
Dmain.c182 lws_sul_schedule(lws_get_context(mco->wsi), 0, &mco->sul_hz, in sul_hz_cb()
291 lws_sul_schedule(lws_get_context(wsi), 0, &mco->sul_hz, in callback_minimal()
/third_party/libwebsockets/lib/roles/ws/ext/
Dextension.c158 ext->callback(lws_get_context(wsi), in lws_ext_parse_options()
200 lws_get_context(wsi), wsi->ws->active_extensions[n], in lws_ext_cb_active()
/third_party/libwebsockets/plugins/
Dprotocol_client_loopback_test.c96 i.context = lws_get_context(wsi); in callback_client_loopback_test()
Dprotocol_lws_openmetrics_export.c474 struct lws_context *cx = lws_get_context(wsi); in callback_lws_openmetrics_export()
578 struct lws_context *cx = lws_get_context(wsi); in callback_lws_openmetrics_prox_agg()
753 struct lws_context *cx = lws_get_context(wsi); in callback_lws_openmetrics_prox_server()
947 struct lws_context *cx = lws_get_context(wsi); in callback_lws_openmetrics_prox_client()
/third_party/libwebsockets/plugin-standalone/
Dprotocol_example_standalone.c79 vhd->context = lws_get_context(wsi); in callback_dumb_increment()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server/
Dprotocol_lws_minimal.c79 vhd->context = lws_get_context(wsi); in callback_minimal()
/third_party/libwebsockets/minimal-examples/secure-streams/minimal-secure-streams-alexa/
Daudio.c381 lws_get_random(lws_get_context(wsi), rands, sizeof(rands)); in callback_audio()
446 if (!avs_query_start(lws_get_context(wsi))) { in callback_audio()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c49 lws_sul_schedule(lws_get_context(pss->wsi), 0, &pss->sul, sul_cb, in sul_cb()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-server-pmd/
Dprotocol_lws_minimal.c79 vhd->context = lws_get_context(wsi); in callback_minimal()
/third_party/libwebsockets/minimal-examples/ws-server/minimal-ws-broker/
Dprotocol_lws_minimal.c96 vhd->context = lws_get_context(wsi); in callback_minimal()

123