- Sort Score
- Num 10 results
- Language All
Results 1 - 4 of 4 for parseCookie (0.06 seconds)
-
okhttp/src/jvmTest/kotlin/okhttp3/CookieTest.kt
} @Test fun maxAge() { assertThat(parseCookie(50000L, url, "a=b; Max-Age=1")!!.expiresAt).isEqualTo(51000L) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854724")!!.expiresAt) .isEqualTo(MAX_DATE) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854725")!!.expiresAt) .isEqualTo(MAX_DATE) assertThat(parseCookie(50000L, url, "a=b; Max-Age=9223372036854726")!!.expiresAt)
Created: Fri Apr 03 11:42:14 GMT 2026 - Last Modified: Sat Nov 01 12:18:11 GMT 2025 - 24.4K bytes - Click Count (0) -
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) -
api/go1.23.txt
pkg net, type KeepAliveConfig struct, Idle time.Duration #62254 pkg net, type KeepAliveConfig struct, Interval time.Duration #62254 pkg net, type ListenConfig struct, KeepAliveConfig KeepAliveConfig #62254 pkg net/http, func ParseCookie(string) ([]*Cookie, error) #66008 pkg net/http, func ParseSetCookie(string) (*Cookie, error) #66008 pkg net/http, method (*Request) CookiesNamed(string) []*Cookie #61472 pkg net/http, type Cookie struct, Partitioned bool #62490
Created: Tue Apr 07 11:13:11 GMT 2026 - Last Modified: Tue Jun 25 17:08:08 GMT 2024 - 10.1K 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)