The HttpRequest
PHP Manual

HttpRequest::clearHistory

(PECL pecl_http >= 0.15.0)

HttpRequest::clearHistoryClear history

说明

public void HttpRequest::clearHistory ( void )

Clears all history messages.

Note:

History is only logged if recordHistory was enabled.


The HttpRequest
PHP Manual