The age of this struct. Always zero for now.
If this is not a complete fragment, the bytesleft field informs about how many additional bytes are expected to arrive before this fragment is complete. If zero, the frame is complete.
Bitmask describing the WebSocket frame. See CurlWs for flag values.
The length of the current data chunk.
When this chunk is a continuation of frame data already delivered, this is the offset into the final frame data where this piece belongs.
WebSocket frame metadata
This structure contains information about a WebSocket frame received or being sent. It is returned by
Easy#wsMetawhen called from within a WRITEFUNCTION callback, or as part of the return value fromEasy#wsRecv.The naming convention of the fields is following libcurl's own naming convention.