From 935596b190b7ae9a8451e763065ee837b8812645 Mon Sep 17 00:00:00 2001 From: roberte777 Date: Wed, 26 Feb 2025 16:38:28 -0600 Subject: [PATCH] docs: added docs to curl_ws_meta to represent the new CURLWS_FIN flag --- docs/libcurl/curl_ws_meta.md | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/docs/libcurl/curl_ws_meta.md b/docs/libcurl/curl_ws_meta.md index 95505b0bda..202b20251b 100644 --- a/docs/libcurl/curl_ws_meta.md +++ b/docs/libcurl/curl_ws_meta.md @@ -124,6 +124,13 @@ reassemble the fragments to receive the complete message. Only a single fragmented message can be transmitted at a time, but it may be interrupted by CURLWS_CLOSE, CURLWS_PING or CURLWS_PONG frames. +## CURLWS_FIN + +This flag is set when the FIN bit is present in the received WebSocket frame. +In WebSocket protocol, the FIN bit indicates that this frame is the final +frame of the message. When CURLWS_FIN is set, it means no further frames +follow for this message. + # %PROTOCOLS% # EXAMPLE