curl_multi_setopt

Set a cURL multi option

&reftitle.description; `bool` `curl_multi_setopt` `CurlMultiHandle` `multi_handle` `int` `option` `mixed` `value`

Sets an option on the given cURL multi handle.

&reftitle.parameters;
&curl.mh.description;

`option`

- One of the `CURLMOPT_`*`` constants.

`value`

- The value to be set on `option`. See the description of the `CURLMOPT_`*`` constants for details on the type of values each constant expects.

&reftitle.returnvalues;

&return.success;

&reftitle.changelog;

&Version; | &Description;
8.2.0 | Introduced `CURLMOPT_MAX_CONCURRENT_STREAMS`.
&curl.changelog.multi-handle-param;
7.1.0 | Introduced `CURLMOPT_PUSHFUNCTION`.
7.0.7 | Introduced `CURLMOPT_CHUNK_LENGTH_PENALTY_SIZE`, `CURLMOPT_CONTENT_LENGTH_PENALTY_SIZE`, `CURLMOPT_MAX_HOST_CONNECTIONS`, `CURLMOPT_MAX_PIPELINE_LENGTH` and `CURLMOPT_MAX_TOTAL_CONNECTIONS`.