]> git.ipfire.org Git - thirdparty/curl.git/commitdiff
curl_ws_send.3: clarify how to send multi-frame messages
authorDaniel Stenberg <daniel@haxx.se>
Mon, 6 Feb 2023 10:24:03 +0000 (11:24 +0100)
committerDaniel Stenberg <daniel@haxx.se>
Mon, 6 Feb 2023 16:27:51 +0000 (17:27 +0100)
docs/libcurl/curl_ws_send.3

index 43458b632b88824cca3d45ce36d896107a55a8c3..bf4801e444d232e358869a876369875432423a15 100644 (file)
@@ -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