ktor-client-core / io.ktor.client.features.cookies / CookiesStorage / addCookie

addCookie

abstract suspend fun addCookie(requestUrl: Url, cookie: Cookie): Unit

Sets a cookie for the specified host.