Toggle navigation
Hot Examples
KO
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
검색
홈
Ixudra
Curl
Builder
withHeader
Ixudra\Curl\Builder::withHeader PHP 메소드
Builder 1 문서
파일 보기
프로젝트 열기: ixudra/curl
withHeader()
공개
메소드
Add a HTTP header to the request
public
withHeader
(
string
$header
) :
Builder
$header
string
The HTTP header that is to be added to the request
리턴
Builder
public function withHeader($header) { $this->curlOptions['HTTPHEADER'][] = $header; 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