- Sort Score
- Num 10 results
- Language All
Results 1 - 2 of 2 for parseCookie (0.05 seconds)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/internal.kt
import okhttp3.internal.connection.ConnectionListener import okhttp3.internal.connection.RealConnection // Exposes Kotlin-internal APIs to Java test code and code in other modules. internal fun parseCookie( currentTimeMillis: Long, url: HttpUrl, setCookie: String, ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie) internal fun cookieToString( cookie: Cookie, forObsoleteRfc2965: Boolean,
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Jan 27 09:00:39 GMT 2026 - 3.8K bytes - Click Count (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val path: String = cookie.path val httpOnly: Boolean = cookie.httpOnly val secure: Boolean = cookie.secure val matches: Boolean = cookie.matches("".toHttpUrl()) val parsedCookie: Cookie? = Cookie.parse("".toHttpUrl(), "") val cookies: List<Cookie> = Cookie.parseAll("".toHttpUrl(), headersOf()) } @Test fun cookieBuilder() { var builder: Cookie.Builder = Cookie.Builder()Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Tue Mar 10 21:47:20 GMT 2026 - 49.7K bytes - Click Count (0)