HttpMessage::setBody
(PECL pecl_http:0.14.0-1.5.5)
HttpMessage::setBody — Set message body
Description
public void HttpMessage::setBody ( string $body )
Note: Don't forget to update any headers accordingly.
Parameters
- body
-
the new body of the message