1curl_multi_setopt(3)            libcurl Manual            curl_multi_setopt(3)
2
3
4

NAME

6       curl_multi_setopt - set options for a curl multi handle
7

SYNOPSIS

9       #include <curl/curl.h>
10
11       CURLMcode  curl_multi_setopt(CURLM  * multi_handle, CURLMoption option,
12       param);
13

DESCRIPTION

15       curl_multi_setopt(3) is used to tell a  libcurl  multi  handle  how  to
16       behave.  By  using the appropriate options to curl_multi_setopt(3), you
17       can change libcurl's behaviour  when  using  that  multi  handle.   All
18       options  are  set with the option followed by the parameter param. That
19       parameter can be a long, a function pointer, an  object  pointer  or  a
20       curl_off_t  type,  depending  on what the specific option expects. Read
21       this manual carefully as bad input values may cause libcurl  to  behave
22       badly!  You can only set one option in each function call.
23
24

OPTIONS

26       CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE
27              See CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE(3)
28
29       CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE
30              See CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE(3)
31
32       CURLMOPT_MAX_HOST_CONNECTIONS
33              See CURLMOPT_MAX_HOST_CONNECTIONS(3)
34
35       CURLMOPT_MAX_PIPELINE_LENGTH
36              See CURLMOPT_MAX_PIPELINE_LENGTH(3)
37
38       CURLMOPT_MAX_TOTAL_CONNECTIONS
39              See CURLMOPT_MAX_TOTAL_CONNECTIONS(3)
40
41       CURLMOPT_MAXCONNECTS
42              See CURLMOPT_MAXCONNECTS(3)
43
44       CURLMOPT_PIPELINING
45              See CURLMOPT_PIPELINING(3)
46
47       CURLMOPT_PIPELINING_SITE_BL
48              See CURLMOPT_PIPELINING_SITE_BL(3)
49
50       CURLMOPT_PIPELINING_SERVER_BL
51              See CURLMOPT_PIPELINING_SERVER_BL(3)
52
53       CURLMOPT_PUSHFUNCTION
54              See CURLMOPT_PUSHFUNCTION(3)
55
56       CURLMOPT_PUSHDATA
57              See CURLMOPT_PUSHDATA(3)
58
59       CURLMOPT_SOCKETFUNCTION
60              See CURLMOPT_SOCKETFUNCTION(3)
61
62       CURLMOPT_SOCKETDATA
63              See CURLMOPT_SOCKETDATA(3)
64
65       CURLMOPT_TIMERFUNCTION
66              See CURLMOPT_TIMERFUNCTION(3)
67
68       CURLMOPT_TIMERDATA
69              See CURLMOPT_TIMERDATA(3)
70
71       CURLMOPT_MAX_CONCURRENT_STREAMS
72              See CURLMOPT_MAX_CONCURRENT_STREAMS(3)
73

RETURNS

75       The  standard  CURLMcode  for multi interface error codes. Note that it
76       returns a CURLM_UNKNOWN_OPTION if you try setting an option  that  this
77       version of libcurl doesn't know of.
78

AVAILABILITY

80       This function was added in libcurl 7.15.4.
81

SEE ALSO

83       curl_multi_cleanup(3),     curl_multi_init(3),    curl_multi_socket(3),
84       curl_multi_info_read(3)
85
86
87
88libcurl 7.69.1                September 24, 2019          curl_multi_setopt(3)
Impressum