Get message body

HttpMessage::fromString
HttpMessage::getHeader
The HttpMessage class
PHP Manual

# HttpMessage::getBody

(PECL pecl_http >= 0.10.0)

HttpMessage::getBody — Get message body

### Description

public string HttpMessage::getBody ( void )

Get the body of the parsed HttpMessage.

### Return Values

Returns the message body as string.

HttpMessage::fromString
HttpMessage::getHeader
The HttpMessage class
PHP Manual