mirror of
https://github.com/curl/curl.git
synced 2026-07-22 21:27:15 +03:00
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:
parent
ce753e3c31
commit
b62d236f7d
2 changed files with 3 additions and 3 deletions
|
|
@ -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.
|
||||
|
|
|
|||
|
|
@ -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.
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue