Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
LeagueWrap
Client
setTimeout
LeagueWrap\Client::setTimeout PHP Метод
Документация по классу Client
Показать файл
Открыть проект
setTimeout()
публичный
Метод
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
Результат
void
public function setTimeout($seconds) { $this->timeout = floatval($seconds); }
Client
addMock
baseUrl
buildGuzzle
request
setTimeout