HttpRequest
在线手册:中文  英文

HttpRequest::getResponseBody

(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseBodyGet response body

说明

public string HttpRequest::getResponseBody ( void )

Get the response body after the request has been sent.

If redirects were allowed and several responses were received, the data references the last received response.

参数

返回值

Returns a string containing the response body.


HttpRequest
在线手册:中文  英文
易百教程