mdref.json config
[mdref/mdref-http] / http / Client / wait.md
1 # bool http\Client::wait([float $timeout = 0])
2
3 Wait for $timeout seconds for transfers to provide data.
4 This is the completion call to http\Client::once().
5
6 ## Params:
7
8 * Optional float $timeout = 0
9 Seconds to wait for data on open sockets.
10
11 ## Returns:
12
13 * bool, success.