return count of still unfinished requests from run callback
[m6w6/ext-http] / src / php_http_client_curl_user.h
index 8a6778fd71c9e15d2e8b7054a6758633d5c0088f..e731f41e588d293041e062b755654e80836813fe 100644 (file)
@@ -36,7 +36,7 @@ interface http\Client\Curl\User
         *  - timeout occurs
         *  - a watched socket needs action
         *
-        * @param callable $run callback as function(http\Client $client, resource $socket = null, int $action = http\Client\Curl\User::POLL_NONE)
+        * @param callable $run callback as function(http\Client $client, resource $socket = null, int $action = http\Client\Curl\User::POLL_NONE):int (returns unfinished requests pending)
         */
        function init(callable $run);