Skip to content

Commit de71ca9

Browse files
authored
Merge pull request #148 from Kaabi/patch-1
2 parents 798896f + 6d9eeaa commit de71ca9

File tree

1 file changed

+12
-0
lines changed

1 file changed

+12
-0
lines changed

src/BigBlueButton.php

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -60,6 +60,7 @@ class BigBlueButton
6060
protected $bbbServerBaseUrl;
6161
protected $urlBuilder;
6262
protected $jSessionId;
63+
protected $timeOut = 10;
6364

6465
/**
6566
* BigBlueButton constructor.
@@ -504,4 +505,15 @@ private function processXmlResponse($url, $payload = '', $contentType = 'applica
504505
throw new \RuntimeException('Post XML data set but curl PHP module is not installed or not enabled.');
505506
}
506507
}
508+
509+
/**
510+
* Set Curl Timeout (Optional), Default 10 Seconds
511+
* @param int $TimeOutInSeconds
512+
* @return static
513+
*/
514+
public function setTimeOut($TimeOutInSeconds)
515+
{
516+
$this->timeOut = $TimeOutInSeconds;
517+
return $this;
518+
}
507519
}

0 commit comments

Comments
 (0)