(PECL pecl_http >= 0.10.0)

HttpRequest::getResponseBody — Get 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, примеры использования класса httprequest.

Смотрите также:
Описание на
Описание на