Get all currently set request headers in an associative array
Note: To get response headers from a previously sent request, use WireHttp::getResponseHeaders()
instead.
Available since version 3.0.131.
Usage
$array = $http->getHeaders();
Return value
array
API reference based on ProcessWire core version 3.0.236