HttpMessage
PHP Manual

HttpMessage::getBody

(PECL pecl_http >= 0.10.0)

HttpMessage::getBodyGet message body

Description

public string HttpMessage::getBody ( void )

Get the body of the parsed HttpMessage.

Return Values

Returns the message body as string.


HttpMessage
PHP Manual