Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for readResponseHeaders (0.29 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

     *  2. Open a sink to write the request body. Either [known][newKnownLengthSink] or
     *     [chunked][newChunkedSink].
     *  3. Write to and then close that sink.
     *  4. [Read response headers][readResponseHeaders].
     *  5. Open a source to read the response body. Either [fixed-length][newFixedLengthSource],
     *     [chunked][newChunkedSource] or [unknown][newUnknownLengthSource].
     *  6. Read from and close that source.
     *
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 17.5K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          tunnelCodec.writeRequest(nextRequest.headers, requestLine)
          tunnelCodec.finishRequest()
          val response =
            tunnelCodec
              .readResponseHeaders(false)!!
              .request(nextRequest)
              .build()
          tunnelCodec.skipConnectBody(response)
    
          when (response.code) {
            HttpURLConnection.HTTP_OK -> return null
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 18.6K bytes
    - Viewed (0)
Back to top