| 1 |
info_read([max_objects]) -> tuple(number of queued messages, a list of successful objects, a list of failed objects) |
| 2 |
|
| 3 |
Corresponds to the `curl_multi_info_read`_ function in libcurl. |
| 4 |
|
| 5 |
This method extracts at most *max* messages from the multi stack and returns |
| 6 |
them in two lists. The first list contains the handles which completed |
| 7 |
successfully and the second list contains a tuple *(curl object, curl error |
| 8 |
number, curl error message)* for each failed curl object. The curl error |
| 9 |
message is returned as a Python string which is decoded from the curl error |
| 10 |
string using the `surrogateescape`_ error handler. The number of |
| 11 |
queued messages after this method has been called is also returned. |
| 12 |
|
| 13 |
.. _curl_multi_info_read: |
| 14 |
https://curl.haxx.se/libcurl/c/curl_multi_info_read.html |
| 15 |
|
| 16 |
.. _surrogateescape: |
| 17 |
https://www.python.org/dev/peps/pep-0383/ |