return count of still unfinished requests from run callback
[m6w6/ext-http] / src / php_http_client_curl_user.h
index 35f5d6fa977e4ba00d0e00cbf806f52c3d7f0d23..39364be7bc8a6ac8961882f28827c083253d7e1b 100644 (file)
@@ -50,7 +50,7 @@ interface http\Client\Curl\User
         *  - timeout occurs
         *  - a watched socket needs action
         *
         *  - 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);
 
         */
        function init(callable $run);