HttpMessage::setBody
(PECL pecl_http >= 0.14.0)
HttpMessage::setBody — Set message body
Описание
public
void HttpMessage::setBody
( string $body
)
Замечание:
Don't forget to update any headers accordingly.
Список параметров
-
body
-
the new body of the message