Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 17 of 17 for HttpLoggingInterceptor (0.25 sec)

  1. CHANGELOG.md

     *  The `AndroidAsyncDns` class moved to the `okhttp` artifact.
     *  The `AndroidLogging` class is no longer necessary. `LoggingEventListener` and
        `HttpLoggingInterceptor` write to logcat by default.
    
    The rest of this release is our highest-quality release yet. Though we continue to use the word
    _alpha_ in the version name, the only unstable thing in it is some non-final APIs tagged
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Jul 07 19:32:33 UTC 2025
    - 31.6K bytes
    - Viewed (1)
  2. okhttp/src/jvmTest/kotlin/okhttp3/EventListenerTest.kt

            .Builder()
            .body("abc")
            .build(),
        )
        client =
          client
            .newBuilder()
            .addNetworkInterceptor(
              HttpLoggingInterceptor()
                .setLevel(HttpLoggingInterceptor.Level.BODY),
            ).build()
        val call =
          client.newCall(
            Request
              .Builder()
              .url(server.url("/"))
              .build(),
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jun 20 11:46:46 UTC 2025
    - 60.4K bytes
    - Viewed (0)
  3. 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.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

           <version>2.6.0</version>
         </dependency>
         ```
    
        Configure basic logging like this:
    
        ```java
        HttpLoggingInterceptor loggingInterceptor = new HttpLoggingInterceptor();
        loggingInterceptor.setLevel(HttpLoggingInterceptor.Level.BASIC);
        client.networkInterceptors().add(loggingInterceptor);
        ```
    
        **Warning:** Avoid `Level.HEADERS` and `Level.BODY` in production because
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. okhttp/src/androidMain/baseline-prof.txt

    HSPLokhttp3/logging/HttpLoggingInterceptor$Logger$Companion$DefaultLogger;-><init>()V
    HSPLokhttp3/logging/HttpLoggingInterceptor$Logger;-><clinit>()V
    HSPLokhttp3/logging/HttpLoggingInterceptor;-><init>(Lokhttp3/logging/HttpLoggingInterceptor$Logger;I)V
    HSPLokhttp3/logging/LoggingEventListener$Factory;-><init>(Lokhttp3/logging/HttpLoggingInterceptor$Logger;I)V
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon Dec 30 23:28:56 UTC 2024
    - 127.9K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_4x.md

        between Kotlin's `assert()` and Java's `assert()`. (Kotlin always evaluates the argument; Java
        only does when assertions are enabled.)
    
     *  Fix: Honor `RequestBody.isOneShot()` in `HttpLoggingInterceptor`.
    
    
    ## Version 4.2.2
    
    _2019-10-06_
    
     *  Fix: When closing a canceled HTTP/2 stream, don't send the `END_STREAM` flag. This could cause
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Wed Apr 17 13:25:31 UTC 2024
    - 25.2K bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/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()
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 51.7K bytes
    - Viewed (0)
Back to top