Toggle navigation
Hot Examples
IT
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Cerca
Home
ScriptFUSION
Porter
Net
Http
HttpOptions
addHeader
ScriptFUSION\Porter\Net\Http\HttpOptions::addHeader PHP Method
HttpOptions Class Documentation
Mostra file
Open project: ScriptFUSION/Porter
addHeader()
public
method
public
addHeader
(
string
$header
)
$header
string
public function addHeader($header) { $this->getReference('header')[] = "{$header}"; return $this; }
HttpOptions
__construct
addHeader
extractHttpContextOptions
findHeader
findHeaders
getContent
getFollowLocation
getHeaders
getIgnoreErrors
getMaxRedirects
getMethod
getProtocolVersion
getProxy
getQueryParameters
getRequestFullUri
getTimeout
getUserAgent
removeHeaders
replaceHeaders
setContent
setFollowLocation
setIgnoreErrors
setMaxRedirects
setMethod
setProtocolVersion
setProxy
setQueryParameters
setRequestFullUri
setTimeout
setUserAgent