Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Ixudra
Curl
Builder
withTimeout
Ixudra\Curl\Builder::withTimeout PHP Метод
Документация по классу Builder
Показать файл
Открыть проект
withTimeout()
публичный
Метод
Set the request timeout
public
withTimeout
(
integer
$timeout
= 30 ) :
Builder
$timeout
integer
The timeout for the request (in seconds. Default: 30 seconds)
Результат
Builder
public function withTimeout($timeout = 30) { return $this->withCurlOption('TIMEOUT', $timeout); }
Builder
allowRedirect
appendDataToURL
asJson
asJsonRequest
asJsonResponse
containsFile
delete
download
enableDebug
forgeOptions
get
patch
post
put
returnResponse
returnResponseObject
send
setPostParameters
to
withContentType
withCurlOption
withData
withHeader
withHeaders
withOption
withPackageOption
withTimeout