Searched refs:WSI_TOKEN_PROTOCOL (Results 1 – 5 of 5) sorted by relevance
/third_party/libwebsockets/lib/roles/ws/ |
D | server-ws.c | 358 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()
|
D | client-ws.c | 333 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/ |
D | http2.c | 2703 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/ |
D | lws-http.h | 233 WSI_TOKEN_PROTOCOL, enumerator
|
/third_party/libwebsockets/lib/roles/http/server/ |
D | server.c | 1444 i.protocol = lws_hdr_simple_ptr(wsi, WSI_TOKEN_PROTOCOL); in lws_http_proxy_start()
|