diff options
author | Daniel Stenberg <daniel@haxx.se> | 2021-11-08 14:48:11 +0100 |
---|---|---|
committer | Daniel Stenberg <daniel@haxx.se> | 2021-11-08 16:13:42 +0100 |
commit | 5c1e1d9aa46302b0f9999f088ba87e10a9779254 (patch) | |
tree | b5d91da6e1d5027d4f45f4238b2230309b6fd45b | |
parent | 9e9fef9e244e99dcf877ddbece461eaa8d609e2c (diff) | |
download | curl-5c1e1d9aa46302b0f9999f088ba87e10a9779254.tar.gz |
curl_easy_perform.3: add a para about recv and send data
Reported-by: Godwin Stewart
Fixes #7973
Closes #7974
-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 |