public function Request::__toString

Same name in this branch

Get the HTTP request as a string

Return value

string

Overrides RequestInterface::__toString

1 call to Request::__toString()
EntityEnclosingRequest::__toString in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequest.php
Get the HTTP request as a string
1 method overrides Request::__toString()
EntityEnclosingRequest::__toString in drupal/core/vendor/guzzle/http/Guzzle/Http/Message/EntityEnclosingRequest.php
Get the HTTP request as a string

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Request.php, line 175

Class

Request
HTTP request class to send requests

Namespace

Guzzle\Http\Message

Code

public function __toString() {
  return $this
    ->getRawHeaders() . "\r\n\r\n";
}