Get value for specific header
Usage
// basic usage
$string = $proCacheTests->urlHeader(string $url, string $header);
// usage with all arguments
$string = $proCacheTests->urlHeader(string $url, string $header, bool $requireCURL = false);
Arguments
Name | Type(s) | Description |
---|---|---|
url | string | |
header | string | |
requireCURL (optional) | bool |
Return value
string
bool
Returns header value on success or boolean false if not present
ProCacheTests methods and properties
API reference based on ProcessWire core version 3.0.236