Home
last modified time | relevance | path

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

/third_party/libwebsockets/include/libwebsockets/
H A Dlws-write.h47 #define LWS_WRITE_RAW LWS_WRITE_HTTP
67 LWS_WRITE_HTTP = 3, enumerator
80 /**< Send http headers (http2 encodes this payload and LWS_WRITE_HTTP
134 * \param protocol: Use LWS_WRITE_HTTP to reply to an http connection, and one
231 lws_write(wsi, (unsigned char *)(buf), len, LWS_WRITE_HTTP)
/third_party/libwebsockets/lib/roles/http/compression/
H A 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/lib/core-net/
H A Ddummy-callback.c362 LWS_PRE, 5, LWS_WRITE_HTTP); in lws_callback_http_dummy() local
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()
H A Dservice.c108 enum lws_write_protocol wp = LWS_WRITE_HTTP; in lws_handle_POLLOUT_event()
/third_party/libwebsockets/lib/roles/h1/
H A Dops-h1.c599 enum lws_write_protocol wp = LWS_WRITE_HTTP; in rops_handle_POLLIN_h1()
740 n = lws_write(wsi, prebuf + LWS_PRE, len, LWS_WRITE_HTTP); in rops_handle_POLLOUT_h1()
790 ((*wp) & 0x1f) == LWS_WRITE_HTTP)) { in rops_write_role_protocol_h1()
/third_party/libwebsockets/minimal-examples/raw/minimal-raw-fallback-http-server/
H A 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/
H A 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/
H A Dminimal-http-server-sse.c107 LWS_WRITE_HTTP) != lws_ptr_diff(p, start)) in callback_sse()
/third_party/libwebsockets/minimal-examples/http-server/minimal-http-server-dynamic/
H A Dminimal-http-server-dynamic.c151 n = LWS_WRITE_HTTP; in callback_dynamic_http()
/third_party/libwebsockets/plugins/ssh-base/
H A Dtelnet.c223 LWS_WRITE_HTTP); in lws_callback_raw_telnet()
H A Dsshd.c2482 LWS_WRITE_HTTP); in lws_callback_raw_sshd()
/third_party/libwebsockets/plugins/
H A Dprotocol_lws_raw_test.c266 lws_write(wsi, pss->buf, (size_t)pss->len, LWS_WRITE_HTTP); in callback_raw_test()
H A Dprotocol_fulltext_demo.c163 n = LWS_WRITE_HTTP; in callback_fts()
H A 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/
H A Dss-raw.c153 LWS_WRITE_HTTP) != lws_ptr_diff(p, buf + LWS_PRE)) { in secstream_raw()
H A Dss-h1.c1039 LWS_WRITE_HTTP_FINAL : LWS_WRITE_HTTP) != in secstream_h1()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-post/
H A Dminimal-http-client-post.c111 n = LWS_WRITE_HTTP; in callback_http()
/third_party/libwebsockets/lib/roles/h2/
H A 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()
998 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/
H A Dminimal-http-server-sse-ring.c270 LWS_WRITE_HTTP) != lws_ptr_diff(p, start)) in callback_sse()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-multi/
H A Dminimal-http-client-multi.c272 n = LWS_WRITE_HTTP; in callback_http()
/third_party/libwebsockets/lib/roles/http/
H A Dheader.c520 m = lws_write(wsi, start, (unsigned int)n, LWS_WRITE_HTTP); in lws_return_http_status()
/third_party/libwebsockets/test-apps/
H A Dtest-client.c276 strlen(&buf[LWS_PRE]), LWS_WRITE_HTTP); in callback_dumb_increment()
/third_party/libwebsockets/lib/roles/cgi/
H A Dcgi-server.c864 cmd = LWS_WRITE_HTTP; in lws_cgi_write_split_stdout_headers()
/third_party/libwebsockets/lib/roles/http/server/
H A Dserver.c3062 enum lws_write_protocol wp = LWS_WRITE_HTTP; in lws_serve_http_file_fragment()
3232 LWS_WRITE_HTTP_FINAL : LWS_WRITE_HTTP); in lws_serve_http_file_fragment()
/third_party/libwebsockets/lib/roles/ws/
H A Dops-ws.c1632 if (((*wp) & 0x1f) == LWS_WRITE_HTTP || in rops_write_role_protocol_ws()

Completed in 23 milliseconds