- Sort Score
- Result 10 results
- Languages All
Results 1 - 3 of 3 for hostOnlyDomain (0.05 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 24.4K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt
fun domain(domain: String): Builder = domain(domain, false) /** * Set the host-only domain for this cookie. The cookie will match [domain] but none of * its subdomains. */ fun hostOnlyDomain(domain: String): Builder = domain(domain, true) private fun domain( domain: String, hostOnly: Boolean, ) = apply { val canonicalDomain = domain.toCanonicalHost()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon May 05 16:01:00 UTC 2025 - 23.1K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
var builder: Cookie.Builder = Cookie.Builder() builder = builder.name("") builder = builder.value("") builder = builder.expiresAt(0L) builder = builder.domain("") builder = builder.hostOnlyDomain("") builder = builder.path("") builder = builder.secure() builder = builder.httpOnly() builder = builder.sameSite("None") val cookie: Cookie = builder.build() } @Test
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0)