multi:InfoRead -- read multi stack informationals
msg, result, remaining = multi:InfoRead()
Ask the multi handle if there are any messages/informationals from the individual transfers. Messages may include informationals such as an error code from the transfer or just the fact that a transfer is completed. More details on these should be written down as well.

This call returns three values: msg contains the type of message received. This can be #CURLMSG_NONE or #CURLMSG_DONE. result contains the message result. The remaining return value indicates how many messages are still in the queue after this function was called.

When you fetch a message using this function, it is removed from the internal queue so calling this function again will not return the same message again. It will instead return new messages at each new invoke until the queue is emptied.

When msg is #CURLMSG_DONE, the message identifies a transfer that is done, and then result contains the return code for the easy handle that just completed.


message type read (see above for possible types)
message-specific result code
number of remaining messages

Show TOC