cookies

open override fun cookies(cookies: List<String>)

Adds multiple cookies to the request.

Each cookie string must be in Set-Cookie header format. The method parses each string and extracts all cookie attributes including name, value, domain, path, expiration, security flags, and custom extensions.

Parameters

cookies

List of cookie strings in Set-Cookie header format.

See also

For adding a single cookie.