Vladimir
06/12/2024, 7:20 PMmatches()
method on Ktor Cookie?
The following method is documented here:
https://api.ktor.io/ktor-client/ktor-client-core/io.ktor.client.plugins.cookies/matches.html
It is used in Ktor's internal AcceptAllCookiesStorage
here:
container.removeAll { (existingCookie, _) ->
existingCookie.name == cookie.name && existingCookie.matches(requestUrl)
}
However, it seems like Cookie instance object doesn't have the matches()
method?