ProCacheTests::urlTest() method

Test given URL and return verbose array

Usage

// basic usage
$array = $tests->urlTest(string $url);

// usage with all arguments
$array = $tests->urlTest(string $url, bool $head = false);

Arguments

NameType(s)Description
$urlstring

URL to test

$head (optional)bool

Use HEAD request method rather than GET Default:false

Return value

array

Verbose array of test results


$tests methods and properties

API reference based on ProcessWire core version 3.0.252