LeagueWrap\Client::setTimeout PHP Méthode

setTimeout() public méthode

Set a timeout in seconds for how long we will wait for the server to respond. If the server does not respond within the set number of seconds we throw an exception.
public setTimeout ( integer $seconds ) : void
$seconds integer
Résultat void
    public function setTimeout($seconds)
    {
        $this->timeout = floatval($seconds);
    }