public function setStreamTimeout($stream_timeout) { $this->stream_timeout = $stream_timeout; }
/** * Client side socket read/write timeout for requests * * @param $timeout */ public function withStreamTimeout($timeout) { $this->config->setStreamTimeout($timeout); }