public function setConnectTimeout($seconds) { $this->config['connectTimeout'] = $this->validateInteger($seconds, "connect timeout"); return $this; }