Skip to main content

HttpClient.AddCookie(string domain, string Name, string value)

Add a new cookie to the list of cookies used by the Http Client.

Parameters:

NameTypeDescription
domainstringCookie domain.
NamestringCookie name
valuestringCookie value

Usage

---@type HttpClient
local httpclient;

---@type string
local domain;

---@type string
local Name;

---@type string
local value;


httpclient.AddCookie(domain, Name, value)