Search Options

Results per page
Sort
Preferred Languages
Advance

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

  1. okhttp/src/main/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
      }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
Back to top