Toggle navigation
Hot Examples
RU
EN
RU
DE
FR
ES
PT
IT
JP
ZH
KO
PHP
PHP
C#
Java
Go
C++
Python
JS
TS
Найти
Главная
Icicle
Http
Message
Message
withBody
Icicle\Http\Message\Message::withBody PHP Метод
Документация по интерфейсу Message
Показать файл
Открыть проект
withBody()
публичный
Метод
Returns a new instance with the given stream for the message body.
public
withBody
(
Icicle\Stream\ReadableStream
$stream
) :
Icicle\Http\Message\Message
$stream
Icicle\Stream\ReadableStream
Результат
Icicle\Http\Message\Message
public function withBody(ReadableStream $stream) : Message;
Message
getBody
getHeader
getHeaderAsArray
getHeaders
getProtocolVersion
hasHeader
withAddedHeader
withBody
withHeader
withProtocolVersion
withoutHeader