Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for httpLoggingInterceptor (0.16 sec)

  1. docs/changelogs/changelog_3x.md

        This class is in the `logging-interceptor` artifact.
     *  New: `Headers.Builder.addUnsafeNonAscii()` allows non-ASCII values to be added without an
        immediate exception.
     *  New: Headers can be redacted in `HttpLoggingInterceptor`.
     *  New: `Headers.Builder` now accepts dates.
     *  New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
     *  New: `Challenge` includes all authentication parameters.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

          MockResponse.Builder()
            .body("abc")
            .build(),
        )
        client =
          client.newBuilder()
            .addNetworkInterceptor(
              HttpLoggingInterceptor()
                .setLevel(HttpLoggingInterceptor.Level.BODY),
            )
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * ```java
     * // The singleton HTTP client.
     * public final OkHttpClient client = new OkHttpClient.Builder()
     *     .addInterceptor(new HttpLoggingInterceptor())
     *     .cache(new Cache(cacheDir, cacheSize))
     *     .build();
     * ```
     *
     * ## Customize Your Client With newBuilder()
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
Back to top