Menu Samaritan's Purse

CURL_MULTI_INFO_READ

Get information about the current transfers

SYNTAX

curl_multi_info_read ( resource $mh [, int &$msgs_in_queue = NULL ] ) : array

PARAMETERS

mh

A cURL multi handle returned by curl_multi_init().

msgs_in_queue

Number of messages that are still in the queue

RETURN

On success, returns an associative array for the message, FALSE on failure.

KEY VALUE
msg The CURLMSG_DONE constant. Other return values are currently not available.
result One of the CURLE_* constants. If everything is OK, the CURLE_OK will be the result.
handle Resource of type curl indicates the handle which it concerns.

EXAMPLES

array(3) {
["msg"]=>
int(1)
["result"]=>
int(0)
["handle"]=>
resource(3) of type (curl)
}
array(3) {
["msg"]=>
int(1)
["result"]=>
int(0)
["handle"]=>
resource(4) of type (curl)
}
bool(false)

PHP