ForkAPI::setTimeOut PHP Method

setTimeOut() public method

Set the timeout After this time the request will stop. You should handle any errors triggered by this.
public setTimeOut ( integer $seconds ) : void
$seconds integer The timeout in seconds.
return void
    public function setTimeOut($seconds)
    {
        trigger_error('The api is deprecated and will be removed in version 5', E_USER_DEPRECATED);
        $this->timeOut = (int) $seconds;
    }