Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for receivedResponseAtMillis (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

          }
          var response =
            responseBuilder
              .request(request)
              .handshake(exchange.connection.handshake())
              .sentRequestAtMillis(sentRequestMillis)
              .receivedResponseAtMillis(System.currentTimeMillis())
              .build()
          var code = response.code
    
          if (shouldIgnoreAndWaitForRealResponse(code, exchange)) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/RecordedResponse.kt

      }
    
      fun assertReceivedResponseAtMillis(
        minimum: Long,
        maximum: Long,
      ) = apply {
        assertDateInRange(minimum, response!!.receivedResponseAtMillis, maximum)
      }
    
      private fun assertDateInRange(
        minimum: Long,
        actual: Long,
        maximum: Long,
      ) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 5.3K bytes
    - Viewed (0)
Back to top