Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for attempted (0.14 sec)

  1. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        // We know that a fresh connection was created if the server recorded a request with sequence
        // number 0. Since the client may have attempted to reuse the broken connection just before
        // creating a fresh connection, the server may have recorded 2 requests at this point. The order
        // of recording is non-deterministic.
        val requestAfter = server.takeRequest()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CallTest.kt

            url = server.url("/"),
            body =
              object : RequestBody() {
                var attempt = 0
    
                override fun contentType(): MediaType? {
                  return null
                }
    
                override fun writeTo(sink: BufferedSink) {
                  sink.writeUtf8("attempt " + attempt++)
                }
              },
          )
        val response = client.newCall(request).execute()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top