Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for addInterceptor (0.21 sec)

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

          MockResponse.Builder()
            .clearHeaders()
            .streamHandler(body)
            .build(),
        )
        client =
          client.newBuilder()
            .addInterceptor(UppercaseRequestInterceptor())
            .addInterceptor(UppercaseResponseInterceptor())
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .post(AsyncRequestBody())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 23.9K bytes
    - Viewed (0)
Back to top