Add
7/14/25Less than 1 minute
HeaderCollection.Add(KeyValue KeyValue)
Add a new header by KeyValue.
Parameters:
| Name | Type | Description |
|---|---|---|
| KeyValue | KeyValue | KeyValue, 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)

