X-Git-Url: https://git.m6w6.name/?a=blobdiff_plain;f=http%2FClient%2Fwait.md;fp=http%2FClient%2Fwait.md;h=c7d39710dff2f509314d06847048226726a3cce0;hb=a9966e91a49824155b1d9b3b3a580d43b20e3662;hp=0000000000000000000000000000000000000000;hpb=9d6563138b2dba26f5bf2d246bdeca3d60ced48e;p=mdref%2Fmdref-http diff --git a/http/Client/wait.md b/http/Client/wait.md new file mode 100644 index 0000000..c7d3971 --- /dev/null +++ b/http/Client/wait.md @@ -0,0 +1,13 @@ +# bool http\Client::wait([float $timeout = 0]) + +Wait for $timeout seconds for transfers to provide data. +This is the completion call to http\Client::once(). + +## Params: + +* Optional float $timeout = 0 + Seconds to wait for data on open sockets. + +## Returns: + +* bool, success.