Forum und email

HttpRequest::getResponseBody

(PECL pecl_http:0.10.0-1.5.5)

HttpRequest::getResponseBody — Get response body

Descripción

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.

Lista de parámetros

Valores retornados

Returns a string containing the response body.