Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for domainMatch (0.06 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cookie.kt

       * check callers should also confirm that this cookie has not expired.
       */
      fun matches(url: HttpUrl): Boolean {
        val domainMatch =
          if (hostOnly) {
            url.host == domain
          } else {
            domainMatch(url.host, domain)
          }
        if (!domainMatch) return false
    
        if (!pathMatch(url, path)) return false
    
        return !secure || url.isHttps
      }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 23.1K bytes
    - Viewed (0)
Back to top