Home
last modified time | relevance | path

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

/third_party/libwebsockets/include/libwebsockets/
Dlws-write.h47 #define LWS_WRITE_RAW LWS_WRITE_HTTP
67 LWS_WRITE_HTTP = 3, enumerator
231 lws_write(wsi, (unsigned char *)(buf), len, LWS_WRITE_HTTP)
/third_party/libwebsockets/lib/roles/http/compression/
Dstream.c136 (wp1f != LWS_WRITE_HTTP && wp1f != LWS_WRITE_HTTP_FINAL)) { in lws_http_compression_transform()
154 *wp = (unsigned int)(LWS_WRITE_HTTP | ((*wp) & ~0x1fu)); in lws_http_compression_transform()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-fallback-http-server/
Dminimal-raw-fallback-http-server.c76 lws_write(wsi, pss->buf, (unsigned int)pss->len, LWS_WRITE_HTTP); in callback_raw_echo()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-h2-long-poll/
Dminimal-http-server.c90 m = lws_write(wsi, p, (unsigned int)n, LWS_WRITE_HTTP); in callback_http()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse/
Dminimal-http-server-sse.c107 LWS_WRITE_HTTP) != lws_ptr_diff(p, start)) in callback_sse()
/third_party/libwebsockets/lib/roles/h1/
Dops-h1.c597 enum lws_write_protocol wp = LWS_WRITE_HTTP; in rops_handle_POLLIN_h1()
738 n = lws_write(wsi, prebuf + LWS_PRE, len, LWS_WRITE_HTTP); in rops_handle_POLLOUT_h1()
788 ((*wp) & 0x1f) == LWS_WRITE_HTTP)) { in rops_write_role_protocol_h1()
/third_party/libwebsockets/lib/core-net/
Ddummy-callback.c362 LWS_PRE, 5, LWS_WRITE_HTTP); in lws_callback_http_dummy()
480 (size_t)(unsigned int)(len + (unsigned int)n + 2), LWS_WRITE_HTTP); in lws_callback_http_dummy()
483 len, LWS_WRITE_HTTP); in lws_callback_http_dummy()
Dservice.c108 enum lws_write_protocol wp = LWS_WRITE_HTTP; in lws_handle_POLLOUT_event()
/third_party/libwebsockets/plugins/
Dprotocol_lws_raw_test.c266 lws_write(wsi, pss->buf, (size_t)pss->len, LWS_WRITE_HTTP); in callback_raw_test()
Dprotocol_fulltext_demo.c163 n = LWS_WRITE_HTTP; in callback_fts()
Dprotocol_lws_openmetrics_export.c527 wm = pss->walk ? LWS_WRITE_HTTP : LWS_WRITE_HTTP_FINAL; in callback_lws_openmetrics_export()
717 wm = pss->walk ? LWS_WRITE_HTTP : LWS_WRITE_HTTP_FINAL; in callback_lws_openmetrics_prox_agg()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-raw.c153 LWS_WRITE_HTTP) != lws_ptr_diff(p, buf + LWS_PRE)) { in secstream_raw()
Dss-h1.c1033 LWS_WRITE_HTTP_FINAL : LWS_WRITE_HTTP) != in secstream_h1()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/
Dminimal-http-server-dynamic.c151 n = LWS_WRITE_HTTP; in callback_dynamic_http()
/third_party/libwebsockets/plugins/ssh-base/
Dtelnet.c223 LWS_WRITE_HTTP); in lws_callback_raw_telnet()
Dsshd.c2482 LWS_WRITE_HTTP); in lws_callback_raw_sshd()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
Dminimal-http-client-post.c111 n = LWS_WRITE_HTTP; in callback_http()
/third_party/libwebsockets/lib/roles/h2/
Dops-h2.c420 base != LWS_WRITE_HTTP && in rops_write_role_protocol_h2()
492 if ((base == LWS_WRITE_HTTP || in rops_write_role_protocol_h2()
991 enum lws_write_protocol wp = LWS_WRITE_HTTP; in rops_perform_user_POLLOUT_h2()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-sse-ring/
Dminimal-http-server-sse-ring.c270 LWS_WRITE_HTTP) != lws_ptr_diff(p, start)) in callback_sse()
/third_party/libwebsockets/lib/roles/http/
Dheader.c515 m = lws_write(wsi, start, (unsigned int)n, LWS_WRITE_HTTP); in lws_return_http_status()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
Dminimal-http-client-multi.c272 n = LWS_WRITE_HTTP; in callback_http()
/third_party/libwebsockets/test-apps/
Dtest-client.c276 strlen(&buf[LWS_PRE]), LWS_WRITE_HTTP); in callback_dumb_increment()
/third_party/libwebsockets/lib/roles/cgi/
Dcgi-server.c862 cmd = LWS_WRITE_HTTP; in lws_cgi_write_split_stdout_headers()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c3051 enum lws_write_protocol wp = LWS_WRITE_HTTP; in lws_serve_http_file_fragment()
3221 LWS_WRITE_HTTP_FINAL : LWS_WRITE_HTTP); in lws_serve_http_file_fragment()
/third_party/libwebsockets/lib/roles/ws/
Dops-ws.c1632 if (((*wp) & 0x1f) == LWS_WRITE_HTTP || in rops_write_role_protocol_ws()