curl/websockets.h: extend the websocket frame struct

This commit is contained in:
Daniel Stenberg 2023-02-08 23:02:50 +01:00
parent 8360d58ac7
commit 2aed8e179f
No known key found for this signature in database
GPG Key ID: 5CC908FDB71E12C2

View File

@ -33,6 +33,7 @@ struct curl_ws_frame {
int flags; /* See the CURLWS_* defines */ int flags; /* See the CURLWS_* defines */
curl_off_t offset; /* the offset of this data into the frame */ curl_off_t offset; /* the offset of this data into the frame */
curl_off_t bytesleft; /* number of pending bytes left of the payload */ curl_off_t bytesleft; /* number of pending bytes left of the payload */
size_t len; /* size of the current data chunk */
}; };
/* flag bits */ /* flag bits */