PHP kézikönyv
Előző |  | Következő

# HttpRequest::getHistory

(no version information, might be only in CVS)

HttpRequest::getHistory -- Get history

## Leírás

publicHttpMessage 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.

## Visszatérési értékek

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

## Errors/Exceptions

Throws HttpRuntimeException.

Előző | Tartalom | Következő
HttpRequest::getHeaders | Fel | HttpRequest::getMethod