What is the right way to access the `matches()` me...
# ktor
v
What is the right way to access the
matches()
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:
Copy code
container.removeAll { (existingCookie, _) ->
                existingCookie.name == cookie.name && existingCookie.matches(requestUrl)
            }
However, it seems like Cookie instance object doesn't have the
matches()
method?