HttpClient.GetCookies(string domain)
Returns an array of KeyValues of cookies currently set in http client for the specific domain.
Parameters:
Name | Type | Description |
---|---|---|
domain | string | The domain which cookies are set for. |
Returns:
type | Description |
---|---|
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)