Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for openResponseBody (0.79 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http/CallServerInterceptor.kt

                  ).socket(exchange.upgradeToSocket())
                  .build()
              }
    
              // This is not an upgrade response.
              else -> {
                val responseBody = exchange.openResponseBody(response)
                response
                  .newBuilder()
                  .body(responseBody)
                  .trailers(
                    object : TrailersSource {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Oct 30 13:46:58 UTC 2025
    - 7.6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/Exchange.kt

          throw e
        }
      }
    
      fun responseHeadersEnd(response: Response) {
        call.eventListener.responseHeadersEnd(call, response)
      }
    
      @Throws(IOException::class)
      fun openResponseBody(response: Response): ResponseBody {
        try {
          val contentType = response.header("Content-Type")
          val contentLength = codec.reportedContentLength(response)
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Nov 05 18:28:35 UTC 2025
    - 10.5K bytes
    - Viewed (0)
Back to top