public function setRequestTimeout($timeout)
    {
        if (!is_int($timeout) || $timeout < 0) {
            throw new Exception("Invalid value supplied for request timeout: $timeout");
        }

        $this->requestTimeout = $timeout;
        return $this;
    }
public function setRequestTimeout($timeout)
    {
        if (!is_int($timeout) || $timeout < 0) {
            throw new Exception("Invalid value supplied for request timeout: $timeout");
        }

        $this->requestTimeout = $timeout;
        return $this;
    }
public function setRequestTimeout ( $ timeout ) { if ( ! is_int ( $ timeout ) || $ timeout < 0 ) { throw new Exception ( "Invalid value supplied for request timeout: $timeout" ) ; } $ this -> requestTimeout = $ timeout ; return $ this ; }
Sets the maximum number of seconds that the tracker will spend waiting for a response
from Piwik.

@param int $timeout
@return $this
@throws Exception
Sets the maximum number of seconds that the tracker will spend waiting for a response from Piwik .