Home
last modified time | relevance | path

Searched refs:WSI_TOKEN_PROTOCOL (Results 1 – 5 of 5) sorted by relevance

/third_party/libwebsockets/lib/roles/ws/
Dserver-ws.c358 lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL), 0)) { in lws_process_ws_upgrade2()
532 n = lws_hdr_copy(wsi, buf, sizeof(buf) - 1, WSI_TOKEN_PROTOCOL); in lws_process_ws_upgrade()
697 if (lws_hdr_total_length(wsi, WSI_TOKEN_PROTOCOL) && in handshake_0405()
Dclient-ws.c333 len = lws_hdr_total_length(wsi, WSI_TOKEN_PROTOCOL); in lws_client_ws_upgrade()
353 p = lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL); in lws_client_ws_upgrade()
/third_party/libwebsockets/lib/roles/h2/
Dhttp2.c2703 if (lws_hdr_total_length(wsi, WSI_TOKEN_PROTOCOL) > 64) in lws_h2_ws_handshake()
2707 if (lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL)) { in lws_h2_ws_handshake()
2708 if (lws_add_http_header_by_token(wsi, WSI_TOKEN_PROTOCOL, in lws_h2_ws_handshake()
2710 WSI_TOKEN_PROTOCOL), in lws_h2_ws_handshake()
2712 WSI_TOKEN_PROTOCOL)), in lws_h2_ws_handshake()
2720 if (lws_hdr_total_length(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/include/libwebsockets/
Dlws-http.h233 WSI_TOKEN_PROTOCOL, enumerator
/third_party/libwebsockets/lib/roles/http/server/
Dserver.c1444 i.protocol = lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL); in lws_http_proxy_start()