Toggle navigation
Hot Examples
DE
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Suchen
Home
Icicle
Http
Message
Message
withHeader
Icicle\Http\Message\Message::withHeader PHP Method
Message Interface Documentation
Datei anzeigen
Open project: icicleio/http
withHeader()
public
method
Returns a new instance with the given header. $value may be a string or an array of strings.
public
withHeader
(
string
$name
,
string
| string[]
$value
) :
Icicle\Http\Message\Message
$name
string
$value
string
| string[]
return
Icicle\Http\Message\Message
public function withHeader(string $name, $value) : Message;
Message
getBody
getHeader
getHeaderAsArray
getHeaders
getProtocolVersion
hasHeader
withAddedHeader
withBody
withHeader
withProtocolVersion
withoutHeader