HttpMessage::setBody

Set message body

Description

public void HttpMessage::setBody ( string $body )

Set the body of the HttpMessage.

Note:

Don't forget to update any headers accordingly.

Parameters

body

the new body of the message