Home > PHP > Function > > HttpMessage::getBody()

HttpMessage::getBody()

HttpMessage::getBody - Get message body

Syntax

public HttpMessage::getBody ()

Arguments

-

Description

Get the body of the parsed HttpMessage.

Version

PHP PECL pecl_http >= 0.10.0

Return value

Returns the message body as string.