public function EasyRdf_Http_Response::asString

Get the entire response as string

Parameters

string $br Line breaks (eg. "\n", "\r\n", "<br />"):

Return value

string

1 call to EasyRdf_Http_Response::asString()
EasyRdf_Http_Response::__toString in drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php
Implements magic __toString()

File

drupal/core/vendor/easyrdf/easyrdf/lib/EasyRdf/Http/Response.php, line 347

Class

EasyRdf_Http_Response
Class that represents an HTTP 1.0 / 1.1 response message.

Code

public function asString($br = "\n") {
  return $this
    ->getHeadersAsString(true, $br) . $br . $this
    ->getRawBody();
}