Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for current (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            val delta = servedMillis - lastModified!!.time
            return if (delta > 0L) delta / 10 else 0L
          }
    
          return 0L
        }
    
        /**
         * Returns the current age of the response, in milliseconds. The calculation is specified by RFC
         * 7234, 4.2.3 Calculating Age.
         */
        private fun cacheResponseAge(): Long {
          val servedDate = this.servedDate
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top