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
Instagram
API
Framework
Request
addHeader
Instagram\API\Framework\Request::addHeader PHP Method
Request Class Documentation
Show file
Open project: liamcottle/instagram-sdk-php
addHeader()
public
method
Add Header to the Request
public
addHeader
(
$key
,
$value
)
$key
string Header Key
$value
string Header Value
public function addHeader($key, $value) { $this->headers[$key] = $value; }
Request
__construct
addCookie
addFile
addHeader
addParam
clearCookies
clearHeaders
clearParams
execute
getCookies
getHeaders
getMethod
getParams
getUrl
setProxy
setProxyCredentials
setVerifyPeer