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.

HTTP_Client::attach() (Previous) HTTP_Client::detach() (Next)
Last updated: Tue, 02 Jun 2009 — 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.