- Sort Score
- Result 10 results
- Languages All
Results 1 - 5 of 5 for flushRequest (0.08 sec)
-
okhttp/src/main/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 Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt
val rawRequestBody = codec.createRequestBody(request, contentLength) return RequestBodySink(rawRequestBody, contentLength) } @Throws(IOException::class) fun flushRequest() { try { codec.flushRequest() } catch (e: IOException) { eventListener.requestFailed(call, e) trackFailure(e) throw e } } @Throws(IOException::class) fun finishRequest() {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 9.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/ExchangeCodec.kt
@Throws(IOException::class) fun writeRequestHeaders(request: Request) /** Flush the request to the underlying socket. */ @Throws(IOException::class) fun flushRequest() /** Flush the request to the underlying socket and signal no more bytes will be transmitted. */ @Throws(IOException::class) fun finishRequest() /**
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 3K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt
} stream!!.readTimeout().timeout(chain.readTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) stream!!.writeTimeout().timeout(chain.writeTimeoutMillis.toLong(), TimeUnit.MILLISECONDS) } override fun flushRequest() { http2Connection.flush() } override fun finishRequest() { stream!!.getSink().close() } override fun readResponseHeaders(expectContinue: Boolean): Response.Builder? {
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 6.9K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt
} } } override fun trailers(): Headers { check(state == STATE_CLOSED) { "too early; can't read the trailers yet" } return trailers ?: EMPTY_HEADERS } override fun flushRequest() { sink.flush() } override fun finishRequest() { sink.flush() } /** Returns bytes of a request header for sending on an HTTP transport. */ fun writeRequest(
Registered: Fri Nov 01 11:42:11 UTC 2024 - Last Modified: Mon Jan 08 01:13:22 UTC 2024 - 16.2K bytes - Viewed (0)