Toggle navigation
Hot Examples
EN
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Search
Home
Ixudra
Curl
Builder
withCurlOption
Ixudra\Curl\Builder::withCurlOption PHP Method
Builder Class Documentation
Show file
Open project: ixudra/curl
withCurlOption()
protected
method
Set any specific cURL option
protected
withCurlOption
(
string
$key
,
string
$value
) :
Builder
$key
string
The name of the cURL option
$value
string
The value to which the option is to be set
return
Builder
protected function withCurlOption($key, $value) { $this->curlOptions[$key] = $value; return $this; }
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