Lines Matching defs:timeout
40 * Number of seconds after a timeout occurs for every request
46 * Number of seconds after a connection timeout occurs for every request during the connection phase.
55 * @param array $params OPTIONAL Connection params: host, port, transport, timeout. All are optional
182 * @param int $timeout Timeout in seconds
186 public function setTimeout($timeout)
188 return $this->setParam('timeout', $timeout);
192 * @return int Connection timeout in seconds
196 return (int) $this->hasParam('timeout') ? $this->getParam('timeout') : self::TIMEOUT;
200 * Number of seconds after a connection timeout occurs for every request during the connection phase.
203 * Set to zero to switch to the default built-in connection timeout (300 seconds in curl).
207 * @param int $timeout Connect timeout in seconds
211 public function setConnectTimeout($timeout)
213 return $this->setParam('connectTimeout', $timeout);
217 * @return int Connection timeout in seconds