From ff7c390b2909152c3f48aeafd8cf18adf3c225c5 Mon Sep 17 00:00:00 2001 From: Daniel Stenberg Date: Mon, 6 Feb 2023 11:24:03 +0100 Subject: [PATCH] curl_ws_send.3: clarify how to send multi-frame messages --- docs/libcurl/curl_ws_send.3 | 2 ++ 1 file changed, 2 insertions(+) diff --git a/docs/libcurl/curl_ws_send.3 b/docs/libcurl/curl_ws_send.3 index 43458b632b..bf4801e444 100644 --- a/docs/libcurl/curl_ws_send.3 +++ b/docs/libcurl/curl_ws_send.3 @@ -53,6 +53,8 @@ should be set to zero. If \fBCURLWS_RAW_MODE\fP is enabled in \fICURLOPT_WS_OPTIONS(3)\fP, the \fBflags\fP argument should be set to 0. +To send a message consisting of multiple frames, set the \fICURLWS_CONT\fP bit +in all frames except the final one. .SH FLAGS .IP CURLWS_TEXT The buffer contains text data. Note that this makes a difference to WebSocket