- Sort Score
- Result 10 results
- Languages All
Results 1 - 2 of 2 for RecordedResponse (0.35 sec)
-
okhttp/src/jvmTest/kotlin/okhttp3/RecordedResponse.kt
*/ fun priorResponse(): RecordedResponse { val priorResponse = response!!.priorResponse!! return RecordedResponse(priorResponse.request, priorResponse, null, null, null) } /** * Asserts that the current response used the network and returns the network response. */ fun networkResponse(): RecordedResponse { val networkResponse = response!!.networkResponse!!
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/jvmTest/kotlin/okhttp3/RecordingCallback.kt
while (true) { val i = responses.iterator() while (i.hasNext()) { val recordedResponse = i.next() if (recordedResponse.request.url.equals(url)) { i.remove() return recordedResponse } } val nowMillis = TimeUnit.NANOSECONDS.toMillis(System.nanoTime()) if (nowMillis >= timeoutMillis) break (this as Object).wait(timeoutMillis - nowMillis) }
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 2.1K bytes - Viewed (0)