public function Response::getVia

Get the Via HTTP header

Return value

string|null Informs the client of proxies through which the response was sent. (e.g. 1.0 fred, 1.1 nowhere.com (Apache/1.1))

File

drupal/core/vendor/guzzle/http/Guzzle/Http/Message/Response.php, line 694

Class

Response
Guzzle HTTP response object

Namespace

Guzzle\Http\Message

Code

public function getVia() {
  return $this
    ->getHeader('Via', true);
}