Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 20 for responseBodyStart (0.13 sec)

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

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 56.9K bytes
    - Viewed (2)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

          if (completed) return e
          completed = true
          // If the body is closed without reading any bytes send a responseBodyStart() now.
          if (e == null && invokeStartEvent) {
            invokeStartEvent = false
            eventListener.responseBodyStart(call)
          }
          return bodyComplete(bytesReceived, responseDone = true, requestDone = false, e = e)
        }
      }
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9.2K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

      }
    
      override fun responseHeadersEnd(
        call: Call,
        response: Response,
      ) {
        logWithTime("responseHeadersEnd: $response")
      }
    
      override fun responseBodyStart(call: Call) {
        logWithTime("responseBodyStart")
      }
    
      override fun responseBodyEnd(
        call: Call,
        byteCount: Long,
      ) {
        logWithTime("responseBodyEnd: byteCount=$byteCount")
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 11:07:32 UTC 2024
    - 5.4K bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/ClientRuleEventListener.kt

        response: Response,
      ) {
        logWithTime("responseHeadersEnd: $response")
    
        delegate.responseHeadersEnd(call, response)
      }
    
      override fun responseBodyStart(call: Call) {
        logWithTime("responseBodyStart")
    
        delegate.responseBodyStart(call)
      }
    
      override fun responseBodyEnd(
        call: Call,
        byteCount: Long,
      ) {
        logWithTime("responseBodyEnd: byteCount=$byteCount")
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 6K bytes
    - Viewed (0)
  5. android-test/README.md

    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyStart
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] responseBodyEnd: byteCount=128
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] connectionReleased
    01-01 12:53:32.811 10999 11089 D OkHttp  : [49 ms] callEnd
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Tue Feb 14 08:26:50 UTC 2023
    - 2.5K bytes
    - Viewed (0)
  6. docs/features/events.md

    0.590 requestHeadersEnd
    0.591 responseHeadersStart
    0.675 responseHeadersEnd
    0.676 responseBodyStart
    0.679 responseBodyEnd
    0.679 connectionReleased
    0.680 callEnd
    REQUEST 2 (pooled connection)
    0.000 callStart
    0.001 connectionAcquired
    0.001 requestHeadersStart
    0.001 requestHeadersEnd
    0.002 responseHeadersStart
    0.082 responseHeadersEnd
    0.082 responseBodyStart
    0.082 responseBodyEnd
    0.083 connectionReleased
    0.083 callEnd
    ```
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 7.7K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/DuplexTest.kt

    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 23.9K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

          .assertLogMatch(Regex("""responseHeadersStart"""))
          .assertLogMatch(Regex("""responseHeadersEnd: Response\{protocol=http/1\.1, code=200, message=OK, url=$url\}"""))
          .assertLogMatch(Regex("""responseBodyStart"""))
          .assertLogMatch(Regex("""responseBodyEnd: byteCount=6"""))
          .assertLogMatch(Regex("""connectionReleased"""))
          .assertLogMatch(Regex("""callEnd"""))
          .assertNoMoreLogs()
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Jan 14 10:20:09 UTC 2024
    - 10.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     *        * body ([requestBodyStart], [requestBodyEnd])
     *      * response ([responseFailed])
     *        * headers ([responseHeadersStart], [responseHeadersEnd])
     *        * body ([responseBodyStart], [responseBodyEnd])
     *
     * This nesting is typical but not strict. For example, when calls use "Expect: continue" the
     * request body start and end events occur within the response header events. Similarly,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  10. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

      override fun responseHeadersEnd(
        call: Call,
        response: Response,
      ) = logEvent(ResponseHeadersEnd(System.nanoTime(), call, response.headers.byteCount()))
    
      override fun responseBodyStart(call: Call) = logEvent(ResponseBodyStart(System.nanoTime(), call))
    
      override fun responseBodyEnd(
        call: Call,
        byteCount: Long,
      ) = logEvent(ResponseBodyEnd(System.nanoTime(), call, byteCount))
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 9K bytes
    - Viewed (0)
Back to top