Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for 3005 (0.16 sec)

  1. samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt

          }
        } catch (e: IOException) {
          println("Response 1 failed: $e")
        }
    
        // Copy to customize OkHttp for this request.
        val client2 =
          client.newBuilder()
            .readTimeout(3000, TimeUnit.MILLISECONDS)
            .build()
        try {
          client2.newCall(request).execute().use { response ->
            println("Response 2 succeeded: $response")
          }
        } catch (e: IOException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
Back to top