Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flushRequest (0.04 sec)

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

            // what we did get (such as a 4xx response) without ever transmitting the request body.
            if ("100-continue".equals(request.header("Expect"), ignoreCase = true)) {
              exchange.flushRequest()
              responseBuilder = exchange.readResponseHeaders(expectContinue = true)
              exchange.responseHeadersStart()
              invokeStartEvent = false
            }
            if (responseBuilder == null) {
    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

        return RequestBodySink(
          delegate = rawRequestBody,
          contentLength = contentLength,
          isSocket = false,
        )
      }
    
      @Throws(IOException::class)
      fun flushRequest() {
        try {
          codec.flushRequest()
        } catch (e: IOException) {
          call.eventListener.requestFailed(call, e)
          trackFailure(e)
          throw e
        }
      }
    
      @Throws(IOException::class)
      fun finishRequest() {
    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