Skip to main content

HttpClient.AddUserAgentProductInfo(string name, string version)

Adds a new user agent with product name and product version.

Parameters:

NameTypeDescription
namestringProduct name
versionstringProduct version

Usage

---@type HttpClient
local httpclient;

---@type string
local name;

---@type string
local version;


httpclient.AddUserAgentProductInfo(name, version)