diff options
author | Daniel Stenberg <daniel@haxx.se> | 2023-02-08 23:02:50 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2023-02-10 08:28:58 +0100 |
commit | 2aed8e179f0675f5b17d75f3904ea7d905f4336a (patch) | |
tree | 0416aae335a846b5634ac2fe95049f5471be54f3 /include | |
parent | 8360d58ac7fc7c2501b917e7f0fcd715e2461577 (diff) | |
download | curl-2aed8e179f0675f5b17d75f3904ea7d905f4336a.tar.gz |
curl/websockets.h: extend the websocket frame struct
Diffstat (limited to 'include')
-rw-r--r-- | include/curl/websockets.h | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/include/curl/websockets.h b/include/curl/websockets.h index d7387a1ae..fd6a91654 100644 --- a/include/curl/websockets.h +++ b/include/curl/websockets.h @@ -33,6 +33,7 @@ struct curl_ws_frame { int flags; /* See the CURLWS_* defines */ curl_off_t offset; /* the offset of this data into the frame */ curl_off_t bytesleft; /* number of pending bytes left of the payload */ + size_t len; /* size of the current data chunk */ }; /* flag bits */ |