Debian Codegraph @

doc/docstrings/multi_add_handle.rst

raw
1 add_handle(Curl object) -> None
2
3 Corresponds to `curl_multi_add_handle`_ in libcurl. This method adds an
4 existing and valid Curl object to the CurlMulti object.
5
6 *Changed in version 7.43.0.2:* add_handle now ensures that the Curl object
7 is not garbage collected while it is being used by a CurlMulti object.
8 Previously application had to maintain an outstanding reference to the Curl
9 object to keep it from being garbage collected.
10
11 .. _curl_multi_add_handle:
12 https://curl.haxx.se/libcurl/c/curl_multi_add_handle.html