The HttpMessage class
PHP Manual

HttpMessage::getBody

(PECL pecl_http >= 0.10.0)

HttpMessage::getBodyGet message body

说明

public string HttpMessage::getBody ( void )

Get the body of the parsed HttpMessage.

返回值

Returns the message body as string.


The HttpMessage class
PHP Manual