WireHttp::resetResponse() method

Reset all response properties

This resets any response data stored in this WireHttp instance, including response headers, response HTTP code and text, or any response errors.

Available since version 3.0.253.

Usage

$http->resetResponse();

$http methods and properties

API reference based on ProcessWire core version 3.0.252