Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for loggingEventListener (0.1 sec)

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

      }
    
      @Test
      fun loggingEventListener() {
        var loggingEventListener: EventListener = LoggingEventListener.Factory().create(FailingCall())
      }
    
      @Test
      fun loggingEventListenerFactory() {
        var factory: LoggingEventListener.Factory = LoggingEventListener.Factory()
        factory = LoggingEventListener.Factory(HttpLoggingInterceptor.Logger.DEFAULT)
        factory =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  2. docs/changelogs/upgrading_to_okhttp_4.md

        .build()
    ```
    
    SAM conversion impacts these APIs:
    
     * Authenticator
     * Dispatcher.setIdleCallback(Runnable)
     * Dns
     * EventListener.Factory
     * HttpLoggingInterceptor.Logger
     * LoggingEventListener.Factory
     * OkHttpClient.Builder.hostnameVerifier(HostnameVerifier)
    
    JetBrains [is working on][kotlin_sams] SAM conversions of Kotlin interfaces. Expect it in a future
    release of the Kotlin language.
    
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 16:58:16 UTC 2022
    - 10.9K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

      private val logRecorder =
        HttpLoggingInterceptorTest.LogRecorder(
          prefix = Regex("""\[\d+ ms] """),
        )
      private val loggingEventListenerFactory = LoggingEventListener.Factory(logRecorder)
      private lateinit var client: OkHttpClient
      private lateinit var url: HttpUrl
    
      @BeforeEach
      fun setUp(server: MockWebServer) {
        this.server = server
        client =
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  4. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

    import okhttp3.internal.http2.Http2
    import okhttp3.internal.platform.Android10Platform
    import okhttp3.internal.platform.AndroidPlatform
    import okhttp3.internal.platform.Platform
    import okhttp3.logging.LoggingEventListener
    import okhttp3.testing.PlatformRule
    import okhttp3.tls.HandshakeCertificates
    import okhttp3.tls.internal.TlsUtil.localhost
    import okio.ByteString.Companion.toByteString
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 27K bytes
    - Viewed (0)
  5. CHANGELOG.md

        This feature increases the client's traffic and the load on the server. Talking to your server's
        operators before adopting it.
    
     *  New in okhttp-android: `HttpLoggingInterceptor.androidLogging()` and
        `LoggingEventListener.androidLogging()` write HTTP calls or events to Logcat.
    
     *  New: `OkHttpClient.webSocketCloseTimeout` configures how long a web socket connection will wait
        for a graceful shutdown before it performs an abrupt shutdown.
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 18 01:31:39 UTC 2024
    - 21.4K bytes
    - Viewed (0)
Back to top