Get the default User-Agent to add to requests sent through the library
string
public static function getDefaultUserAgent() {
if (!self::$userAgent) {
self::$userAgent = sprintf('Guzzle/%s curl/%s PHP/%s', Version::VERSION, CurlVersion::getInstance()
->get('version'), PHP_VERSION);
}
return self::$userAgent;
}