WireHttp::setUserAgent() method

Set the current user-agent header

Available since version 3.0.183.

Usage

$http->setUserAgent(string $userAgent);

Arguments

NameType(s)Description
$userAgentstring

$http methods and properties

API reference based on ProcessWire core version 3.0.251