Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
LeagueWrap
Client
setTimeout
LeagueWrap\Client::setTimeout PHP Method
Client Class Documentation
Mostra file
Open project: paquettg/leaguewrap
setTimeout()
public
method
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
return
void
public function setTimeout($seconds) { $this->timeout = floatval($seconds); }
Client
addMock
baseUrl
buildGuzzle
request
setTimeout