downloads | documentation | faq | getting help | mailing lists | licenses | wiki | reporting bugs | php.net sites | links | conferences | my php.net

search for in the

HttpRequest::getMethod> <HttpRequest::getHeaders
[edit] Last updated: Fri, 18 May 2012

view this page in

HttpRequest::getHistory

(PECL pecl_http >= 0.15.0)

HttpRequest::getHistoryGet history

Beschreibung

public HttpMessage HttpRequest::getHistory ( void )

Get all sent requests and received responses as an HttpMessage object.

If you want to record history, set the instance variable HttpRequest::recordHistory to TRUE.

The returned object references the last received response, use HttpMessage::getParentMessage() to access the data of previously sent requests and received responses.

Rückgabewerte

Returns an HttpMessage object representing the complete request/response history.

Fehler/Exceptions

Throws HttpRuntimeException.



add a note add a note User Contributed Notes HttpRequest::getHistory
There are no user contributed notes for this page.

 
show source | credits | stats | sitemap | contact | advertising | mirror sites