HTTP_Client::currentResponse()

HTTP_Client::currentResponse() – Returns the most recent HTTP response

Synopsis

require_once 'HTTP/Client.php';

array& HTTP_Client::currentResponse ( )

Description

The returned array has the following keys: 'code', 'headers', 'body'.

Throws

throws no exceptions thrown

Note

This function can not be called statically.

Adds a Listener to the list of listeners that are notified of the object's events (Previous) Removes a Listener from the list of listeners (Next)
Last updated: Mon, 21 Jul 2014 — Download Documentation
Do you think that something on this page is wrong? Please file a bug report or add a note.
View this page in:

User Notes:

There are no user contributed notes for this page.