websockets: sync prototypes in docs with implementation [ci skip]

Docs for the new send/recv functions synced with the committed versions
of these.

Closes #9470
This commit is contained in:
Viktor Szakats 2022-09-10 21:36:49 +00:00
parent ce753e3c31
commit b62d236f7d
No known key found for this signature in database
GPG Key ID: B5ABD165E2AEF201
2 changed files with 3 additions and 3 deletions

View File

@ -30,7 +30,7 @@ curl_ws_recv - receive websocket data
#include <curl/easy.h>
CURLcode curl_ws_recv(CURL *curl, void *buffer, size_t buflen,
size_t *nread, unsigned int *recvflags);
size_t *recv, unsigned int *recvflags);
.fi
.SH DESCRIPTION
This function call is EXPERIMENTAL.

View File

@ -29,8 +29,8 @@ curl_ws_send - receive websocket data
.nf
#include <curl/easy.h>
CURLcode curl_ws_send(CURL *curl, char *buffer, size_t buflen, size_t *sent,
unsigned int sendflags);
CURLcode curl_ws_send(CURL *curl, const void *buffer, size_t buflen,
size_t *sent, unsigned int sendflags);
.fi
.SH DESCRIPTION
This function call is EXPERIMENTAL.