Edit
↰
Home
↑
http
↑
Message
↻
Message::toStream
↲
Body
↲
Parser
↲
Message::__construct
↲
Message::__toString
↲
Message::addBody
↲
Message::addHeader
↲
Message::addHeaders
↲
Message::count
↲
Message::current
↲
Message::detach
↲
Message::getBody
↲
Message::getHeader
↲
Message::getHeaders
↲
Message::getHttpVersion
↲
Message::getInfo
↲
Message::getParentMessage
↲
Message::getRequestMethod
↲
Message::getRequestUrl
↲
Message::getResponseCode
↲
Message::getResponseStatus
↲
Message::getType
↲
Message::isMultipart
↲
Message::key
↲
Message::next
↲
Message::prepend
↲
Message::reverse
↲
Message::rewind
↲
Message::serialize
↲
Message::setBody
↲
Message::setHeader
↲
Message::setHeaders
↲
Message::setHttpVersion
↲
Message::setInfo
↲
Message::setRequestMethod
↲
Message::setRequestUrl
↲
Message::setResponseCode
↲
Message::setResponseStatus
↲
Message::setType
↲
Message::splitMultipartBody
↲
Message::toCallback
↲
Message::toString
↲
Message::unserialize
↲
Message::valid
#
http\Message
http\Message::toStream
(
resource
$stream
)
Stream the message into stream
$stream
, starting from
$offset
, streaming
$maxlen
at most.
Params:
#
resource
$stream
#
The
resource
to write to.
Returns:
#
http\Message
,
self
.
Show Comments from Github Discussions