diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-11-08 14:48:11 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-11-08 14:49:23 +0100 |
commit | dcdd2fe1d8414739b6b3af2e9b6fe046be0194c4 (patch) | |
tree | ab31be13014218391ca5bd3b3d779ad507eeba24 | |
parent | ef7c76ad82153786ace2f273af206e7cf8c39d91 (diff) | |
download | curl-bagder/easy_perform-basic-data-text.tar.gz |
curl_easy_perform.3: add a para about recv and send databagder/easy_perform-basic-data-text
Reported-by: Godwin Stewart
Fixes #7973
-rw-r--r-- | docs/libcurl/curl_easy_perform.3 | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/docs/libcurl/curl_easy_perform.3 b/docs/libcurl/curl_easy_perform.3 index 01c543f4a..1267fb8fd 100644 --- a/docs/libcurl/curl_easy_perform.3 +++ b/docs/libcurl/curl_easy_perform.3 @@ -50,6 +50,12 @@ same \fBeasy_handle\fP. Let the function return first before invoking it another time. If you want parallel transfers, you must use several curl easy_handles. +A network transfer moves data to a peer or from a peer. An application tells +libcurl how to receive data by setting the \fICURLOPT_WRITEFUNCTION(3)\fP and +\fICURLOPT_WRITEDATA(3)\fP options. To tell libcurl what data to send, there +are a few more alternatives but two common ones are +\fICURLOPT_READFUNCTION(3)\fP and \fICURLOPT_POSTFIELDS(3)\fP. + While the \fBeasy_handle\fP is added to a multi handle, it cannot be used by \fIcurl_easy_perform(3)\fP. .SH EXAMPLE |