Home
last modified time | relevance | path

Searched refs:lws_add_http_header_by_token (Results 1 – 19 of 19) sorted by relevance

/third_party/libwebsockets/lib/roles/http/
Dheader.c136 lws_add_http_header_by_token(struct lws *wsi, enum lws_token_indexes token, in lws_add_http_header_by_token() function
162 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_LENGTH, in lws_add_http_header_content_length()
189 lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_TYPE, in lws_add_http_common_headers()
227 if (lws_add_http_header_by_token(wsi, in lws_add_http_common_headers()
241 if (lws_add_http_header_by_token(wsi, in lws_add_http_common_headers()
387 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_SERVER, in lws_add_http_header_status()
448 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_TYPE, in lws_return_http_status()
462 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_LENGTH, in lws_return_http_status()
532 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_LOCATION, loc, len, in lws_http_redirect()
540 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_TYPE, in lws_http_redirect()
[all …]
Dcookie.c702 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_COOKIE, NULL, size, in lws_cookie_send_cookies()
Dparsers.c1718 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_SET_COOKIE, in lws_jwt_sign_token_set_http_cookie()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client/
Dminimal-http-client.c117 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_USER_AGENT, in callback_http()
121 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_ACCEPT, in callback_http()
133 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_AUTHORIZATION, in callback_http()
/third_party/libwebsockets/minimal-examples/http-client/minimal-http-client-jit-trust/
Dminimal-http-client.c253 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_USER_AGENT, in callback_http()
257 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_ACCEPT, in callback_http()
272 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_AUTHORIZATION, in callback_http()
/third_party/libwebsockets/lib/core-net/
Ddummy-callback.c51 if (lws_add_http_header_by_token(wsi, (enum lws_token_indexes)index, temp, n, p, end)) { in proxy_header()
538 if (lws_add_http_header_by_token(parent, in lws_callback_http_dummy()
554 if (lws_add_http_header_by_token(parent, in lws_callback_http_dummy()
645 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_X_FORWARDED_FOR, in lws_callback_http_dummy()
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c798 if (lws_add_http_header_by_token(wsi, in lws_http_serve()
821 if (lws_add_http_header_by_token(wsi, in lws_http_serve()
847 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_ETAG, in lws_http_serve()
901 if (lws_add_http_header_by_token(wsi, in lws_http_serve()
1047 if (lws_add_http_header_by_token(wsi, in lws_unauthorised_basic_auth()
2799 if (lws_add_http_header_by_token(wsi, in lws_serve_http_file()
2826 if (lws_add_http_header_by_token(wsi, in lws_serve_http_file()
2838 if (lws_add_http_header_by_token(wsi, in lws_serve_http_file()
2887 if (lws_add_http_header_by_token(wsi, in lws_serve_http_file()
2896 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_ACCEPT_RANGES, in lws_serve_http_file()
[all …]
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c2554 if (lws_add_http_header_by_token(wsi, in lws_h2_client_handshake()
2560 if (lws_add_http_header_by_token(wsi, in lws_h2_client_handshake()
2582 if (n && lws_add_http_header_by_token(wsi, in lws_h2_client_handshake()
2597 if (n && simp && lws_add_http_header_by_token(wsi, in lws_h2_client_handshake()
2605 lws_add_http_header_by_token(wsi, WSI_TOKEN_HOST, in lws_h2_client_handshake()
2618 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_TYPE, in lws_h2_client_handshake()
2708 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_PROTOCOL, in lws_h2_ws_handshake()
2753 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_PROTOCOL, in lws_h2_ws_handshake()
2762 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_PROTOCOL, in lws_h2_ws_handshake()
/third_party/libwebsockets/lib/roles/http/compression/
Dstream.c96 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_ENCODING, in lws_http_compression_apply()
/third_party/libwebsockets/plugins/acme-client/
Dprotocol_lws_acme_client.c159 if (lws_add_http_header_by_token(wsi, in callback_chall_http01()
174 if (lws_add_http_header_by_token(wsi, in callback_chall_http01()
1095 if (lws_add_http_header_by_token(wsi, in callback_acme_client()
1104 if (lws_add_http_header_by_token(wsi, in callback_acme_client()
/third_party/libwebsockets/plugins/
Dprotocol_post_demo.c227 if (lws_add_http_header_by_token(wsi, in callback_post_demo()
Dprotocol_lws_openmetrics_export.c1022 if (lws_add_http_header_by_token(wsi, in callback_lws_openmetrics_prox_client()
/third_party/libwebsockets/test-apps/
Dtest-client.c257 if (lws_add_http_header_by_token(wsi, in callback_dumb_increment()
261 if (lws_add_http_header_by_token(wsi, in callback_dumb_increment()
/third_party/libwebsockets/include/libwebsockets/
Dlws-http.h632 lws_add_http_header_by_token(struct lws *wsi, enum lws_token_indexes token,
/third_party/libwebsockets/lib/roles/cgi/
Dcgi-server.c486 lws_add_http_header_by_token(wsi, in lws_cgi_write_split_stdout_headers()
491 if (lws_add_http_header_by_token(wsi, in lws_cgi_write_split_stdout_headers()
/third_party/libwebsockets/plugins/deaddrop/
Dprotocol_lws_deaddrop.c626 if (lws_add_http_header_by_token(wsi, in callback_deaddrop()
/third_party/libwebsockets/lib/secure-streams/protocols/
Dss-h1.c262 if (lws_add_http_header_by_token(wsi, in lws_apply_metadata()
/third_party/libwebsockets/lib/roles/http/client/
Dclient-http.c1079 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_HTTP_CONTENT_TYPE, in lws_http_multipart_headers()
/third_party/libwebsockets/READMEs/
DREADME.coding.md473 - use lws apis `lws_add_http_header_by_name()` and `lws_add_http_header_by_token()`