curl/websockets.h: extend the websocket frame struct
This commit is contained in:
parent
8360d58ac7
commit
2aed8e179f
@ -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 */
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user