Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for parseCookie (0.13 sec)

  1. okhttp/src/test/java/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)
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 24.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/internal.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.RealConnection
    
    internal fun parseCookie(
      currentTimeMillis: Long,
      url: HttpUrl,
      setCookie: String,
    ): Cookie? = Cookie.parse(currentTimeMillis, url, setCookie)
    
    internal fun cookieToString(
      cookie: Cookie,
      forObsoleteRfc2965: Boolean,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.7K bytes
    - Viewed (0)
  3. 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
    Registered: Tue Nov 05 11:13:11 UTC 2024
    - Last Modified: Tue Jun 25 17:08:08 UTC 2024
    - 10.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/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()
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
Back to top