WordPress at Your Fingertips
function is not described

SimplePie_HTTP_Parser::body() protected WP 1.0

Parse the body

{} It's a method of the class: SimplePie_HTTP_Parser{}

No Hooks.

Return

null. Nothing.

Usage

// protected - for code of main (parent) or child class
$result = $this->body();

Code of SimplePie_HTTP_Parser::body() WP 5.8.2

protected function body()
{
	$this->body = substr($this->data, $this->position);
	if (!empty($this->headers['transfer-encoding']))
	{
		unset($this->headers['transfer-encoding']);
		$this->state = 'chunked';
	}
	else
	{
		$this->state = 'emit';
	}
}