Skip to main content

HeaderCollection.Add(KeyValue KeyValue)

Add a new header by KeyValue.

Parameters:

NameTypeDescription
KeyValueKeyValueKeyValue, Key as header name and Value as Header Value.

Usage

---@type HeaderCollection
local headercollection;

---@type KeyValue
local KeyValue;


headercollection.Add(KeyValue)

ocal headercollection;

---@type string local headerName;

---@type string local headerValue;

headercollection.Add(headerName, headerValue)