PHP » GoLang |
login |
register |
about
|
GoLang curl_multi_info_read
request it (340)
GoLang replacement for PHP's curl_multi_info_read
[edit | history]
curl_multi_info_read(PHP 5, PHP 7) curl_multi_info_read — Get information about the current transfers Description
array curl_multi_info_read
( resource
$mh
[, int &$msgs_in_queue = NULL
] )Ask the multi handle if there are any messages or information from the individual transfers. Messages may include information such as an error code from the transfer or just the fact that a transfer is completed.
Repeated calls to this function will return a new result each time, until a Warning
The data the returned resource points to will not survive calling curl_multi_remove_handle(). Parameters
Return Values
On success, returns an associative array for the message,
Examples
Example #1 A curl_multi_info_read() example
<?php The above example will output something similar to: array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(5) of type (curl) } array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(7) of type (curl) } array(3) { ["msg"]=> int(1) ["result"]=> int(0) ["handle"]=> resource(6) of type (curl) } bool(false) Changelog
|
more
Recently updated
more
Most requested
more
Last requests
|