curl_ws_send.3: clarify how to send multi-frame messages

This commit is contained in:
Daniel Stenberg 2023-02-06 11:24:03 +01:00
parent ad55b23634
commit ff7c390b29
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View 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