mirror of
https://github.com/curl/curl.git
synced 2025-04-18 16:30:45 +08: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
@ -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…
x
Reference in New Issue
Block a user