Asf_Http_Response::getContent

获取response内容


Description

public string getContent(void)

Parameters

Return Values

mixed values

Examples

Example #1

<?php
use Asf\Http\Response;

$rep = new Response();

$rep->setContent("Hello");
$rep->appendContent(" World");
$rep->appendContent(" , Come on");
$rep->getContent();

/* 输出值 */

string(21) "Hello World , Come on"