org.http4k.strikt.cookie.kt Maven / Gradle / Ivy
Go to download
Show more of this group Show more artifacts with this name
Show all versions of http4k-testing-strikt Show documentation
Show all versions of http4k-testing-strikt Show documentation
A set of Strikt matchers for common http4k types
package org.http4k.strikt
import org.http4k.core.cookie.Cookie
import strikt.api.Assertion
val Assertion.Builder.name get() = get(Cookie::name)
val Assertion.Builder.value get() = get(Cookie::value)
val Assertion.Builder.domain get() = get(Cookie::domain)
val Assertion.Builder.path get() = get(Cookie::path)
val Assertion.Builder.secure get() = get { secure }
val Assertion.Builder.httpOnly get() = get { httpOnly }
val Assertion.Builder.expires get() = get(Cookie::expires)
val Assertion.Builder.maxAge get() = get(Cookie::maxAge)
val Assertion.Builder.sameSite get() = get(Cookie::sameSite)
© 2015 - 2025 Weber Informatics LLC | Privacy Policy