Icicle\Http\Message\Message::withBody PHP Метод

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;