Skip to main content

HttpClient.GetCookies(string domain)

Returns an array of KeyValues of cookies currently set in http client for the specific domain.

Parameters:

NameTypeDescription
domainstringThe domain which cookies are set for.

Returns:

typeDescription
KeyValue[]an array of KeyValues of cookies currently set in http client for the specified domain.

Usage

---@type HttpClient
local httpclient;

---@type string
local domain;


local val0 = httpclient.GetCookies(domain)