curl_ws_meta.3: added docs

This commit is contained in:
Daniel Stenberg 2022-09-09 15:11:14 +02:00
parent 664249d095
commit 07cb887ed3
No known key found for this signature in database
GPG key ID: 5CC908FDB71E12C2
3 changed files with 97 additions and 0 deletions

View file

@ -65,4 +65,11 @@ typedef ssize_t (*curl_ws_write_callback)(void *userdata, char *data,
/* bits for the CURLOPT_WS_OPTIONS bitmask: */
#define CURLWS_RAW_MODE (1<<0)
struct curl_ws_metadata {
int age; /* zero */
int recvflags; /* See the CURLWS_* defines */
};
struct curl_ws_metadata *curl_ws_meta(CURL *curl);
#endif /* CURLINC_WEBSOCKETS_H */