Lines Matching +full:fail +full:- +full:fast
59 $this->setParams($params);
60 $this->setEnabled(true);
63 if (!$this->hasParam('config')) {
64 $this->setParam('config', []);
73 return $this->hasParam('port') ? $this->getParam('port') : self::DEFAULT_PORT;
83 return $this->setParam('port', (int) $port);
91 return $this->hasParam('host') ? $this->getParam('host') : self::DEFAULT_HOST;
101 return $this->setParam('host', $host);
109 return $this->hasParam('proxy') ? $this->getParam('proxy') : null;
124 return $this->setParam('proxy', $proxy);
132 … return $this->hasParam('transport') ? $this->getParam('transport') : self::DEFAULT_TRANSPORT;
142 return $this->setParam('transport', $transport);
150 …return (bool) $this->hasParam('compression') ? $this->getParam('compression') : self::DEFAULT_COMP…
160 return $this->setParam('compression', $compression);
168 return $this->hasParam('path') ? $this->getParam('path') : '';
178 return $this->setParam('path', $path);
188 return $this->setParam('timeout', $timeout);
196 return (int) $this->hasParam('timeout') ? $this->getParam('timeout') : self::TIMEOUT;
201 …* Use a small value if you need a fast fail in case of dead, unresponsive or unreachable servers (…
203 * Set to zero to switch to the default built-in connection timeout (300 seconds in curl).
213 return $this->setParam('connectTimeout', $timeout);
221 …return (int) $this->hasParam('connectTimeout') ? $this->getParam('connectTimeout') : self::CONNECT…
233 return $this->setParam('enabled', $enabled);
241 return (bool) $this->getParam('enabled');
253 $transport = $this->getTransport();
263 return (bool) $this->hasParam('persistent') ? $this->getParam('persistent') : true;
271 return $this->setParam('config', $config);
282 $this->_params['config'][$key] = $value;
294 $config = $this->getConfig();
311 $config = $this->getParam('config');
348 return $this->hasParam('username') ? $this->getParam('username') : null;
356 return $this->hasParam('password') ? $this->getParam('password') : null;
364 return $this->hasParam('auth_type') ? \strtolower($this->getParam('auth_type')) : null;