- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 11 for sentRequestAtMillis (0.09 sec)
-
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Response.kt
open fun trailers(trailersSource: TrailersSource): Builder = apply { this.trailersSource = trailersSource } open fun sentRequestAtMillis(sentRequestAtMillis: Long) = apply { this.sentRequestAtMillis = sentRequestAtMillis } open fun receivedResponseAtMillis(receivedResponseAtMillis: Long) = apply { this.receivedResponseAtMillis = receivedResponseAtMillis
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Jul 28 14:39:28 UTC 2025 - 18.1K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheInterceptor.kt
val response = cacheResponse .newBuilder() .headers(combine(cacheResponse.headers, networkResponse.headers)) .sentRequestAtMillis(networkResponse.sentRequestAtMillis) .receivedResponseAtMillis(networkResponse.receivedResponseAtMillis) .cacheResponse(cacheResponse.stripBody()) .networkResponse(networkResponse.stripBody())
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 10.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt
invokeStartEvent = false } } var response = responseBuilder .request(request) .handshake(exchange.connection.handshake()) .sentRequestAtMillis(sentRequestMillis) .receivedResponseAtMillis(System.currentTimeMillis()) .build() var code = response.code while (shouldIgnoreAndWaitForRealResponse(code)) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Tue Jul 29 22:04:11 UTC 2025 - 7.8K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinDeprecationErrorTest.kt
val cacheResponse: Response? = response.cacheResponse() val priorResponse: Response? = response.priorResponse() val cacheControl: CacheControl = response.cacheControl() val sentRequestAtMillis: Long = response.sentRequestAtMillis() val receivedResponseAtMillis: Long = response.receivedResponseAtMillis() } @Test @Disabled fun route() { val route: Route = factory.newRoute()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.3K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
}, ).isNotNull() } fun assertSentRequestAtMillis( minimum: Long, maximum: Long, ) = apply { assertDateInRange(minimum, response!!.sentRequestAtMillis, maximum) } fun assertReceivedResponseAtMillis( minimum: Long, maximum: Long, ) = apply { assertDateInRange(minimum, response!!.receivedResponseAtMillis, maximum) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 5.3K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/Cache.kt
this.code = response.code this.message = response.message this.responseHeaders = response.headers this.handshake = response.handshake this.sentRequestMillis = response.sentRequestAtMillis this.receivedResponseMillis = response.receivedResponseAtMillis } @Throws(IOException::class) fun writeTo(editor: DiskLruCache.Editor) {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 26.9K bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/KotlinSourceModernTest.kt
val priorResponse: Response? = response.priorResponse val challenges: List<Challenge> = response.challenges() val cacheControl: CacheControl = response.cacheControl val sentRequestAtMillis: Long = response.sentRequestAtMillis val receivedResponseAtMillis: Long = response.receivedResponseAtMillis } @Test fun responseBuilder() { var builder: Response.Builder = Response.Builder()
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jun 21 20:36:35 UTC 2025 - 46.5K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/cache/CacheStrategy.kt
private fun isFreshnessLifetimeHeuristic(): Boolean = cacheResponse!!.cacheControl.maxAgeSeconds == -1 && expires == null init { if (cacheResponse != null) { this.sentRequestMillis = cacheResponse.sentRequestAtMillis this.receivedResponseMillis = cacheResponse.receivedResponseAtMillis val headers = cacheResponse.headers for (i in 0 until headers.size) { val fieldName = headers.name(i)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
.Builder() .request(proxyConnectRequest) .protocol(Protocol.HTTP_1_1) .code(HttpURLConnection.HTTP_PROXY_AUTH) .message("Preemptive Authenticate") .sentRequestAtMillis(-1L) .receivedResponseAtMillis(-1L) .header("Proxy-Authenticate", "OkHttp-Preemptive") .build() val authenticatedRequest = route.address.proxyAuthenticator
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 28 23:28:25 UTC 2025 - 12K bytes - Viewed (0) -
okhttp/api/jvm/okhttp.api
public final fun priorResponse ()Lokhttp3/Response; public final fun protocol ()Lokhttp3/Protocol; public final fun receivedResponseAtMillis ()J public final fun request ()Lokhttp3/Request; public final fun sentRequestAtMillis ()J public final fun socket ()Lokio/Socket; public fun toString ()Ljava/lang/String; public final fun trailers ()Lokhttp3/Headers; } public class okhttp3/Response$Builder {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Aug 16 09:39:51 UTC 2025 - 69.4K bytes - Viewed (0)