X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FClient%2FCurl%2FUser%2Finit.md;h=ba98e9729e307af1d21a82ecafb294fdc9345e00;hb=3bf080fbfef8496240a6d42d4a2d4c08c04cf8fd;hp=45afb55291f93ba641f912434b3b69e4e5d73acc;hpb=bea65a44c88e5b048152cec8eb25d217e4442a57;p=mdref%2Fmdref-http diff --git a/http/Client/Curl/User/init.md b/http/Client/Curl/User/init.md index 45afb55..ba98e97 100644 --- a/http/Client/Curl/User/init.md +++ b/http/Client/Curl/User/init.md @@ -5,9 +5,9 @@ Initialize the event loop. ## Params: -* callable $run as function(http\Client $c, resource $s = null, int $action = http\Client\Curl\User::POLL_NONE) : int +* callable $run as function(http\Client $c, resource $s = null, int $action = http\Client\Curl\User::POLL_NONE) : int Internal callback returning the number of unfinished requests pending. -> ***NOTE***: +> ***NOTE***: > The callback should be run when a timeout occurs or a watched socket needs action.