- Sort Score
- Result 10 results
- Languages All
Results 11 - 20 of 22 for done (0.17 sec)
-
okhttp/src/main/kotlin/okhttp3/Response.kt
* Otherwise this returns an empty list of challenges. * * If a challenge uses the `token68` variant instead of auth params, there is exactly one * auth param in the challenge at key null. Invalid headers and challenges are ignored. * No semantic validation is done, for example that `Basic` auth must have a `realm` * auth param, this is up to the caller that interprets these challenges. */
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Tue Jan 23 14:31:42 GMT 2024 - 15.5K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt
logFile = File("/tmp/key.log"), tlsVersions = tlsVersions, launch = launch)` * 3. Register with `client.eventListenerFactory(eventListenerFactory)` * 4. Launch wireshark if not done externally `val process = eventListenerFactory.launchWireShark()` */ @SuppressSignatureCheck class WireSharkListenerFactory( private val logFile: File, private val tlsVersions: List<TlsVersion>,
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 10.7K bytes - Viewed (1) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt
* If there are already enough connections, we're done. * If not, we create one and then schedule the task to run again immediately. */ private fun openConnections(state: AddressState): Long { // This policy does not require minimum connections, don't run again if (state.policy.minimumConcurrentCalls == 0) return -1L var concurrentCallCapacity = 0
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 16.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/EventListener.kt
* * All event methods must execute fast, without external locking, cannot throw exceptions, attempt * to mutate the event parameters, or be re-entrant back into the client. Any IO - writing to files * or network should be done asynchronously. */ abstract class EventListener { /** * Invoked as soon as a call is enqueued or executed by a client. In case of thread or stream
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Jan 08 01:13:22 GMT 2024 - 15.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt
receivedCloseCode == -1 } catch (e: Exception) { failWebSocket(e = e) false } } /** * Clean up and publish necessary close events when the reader is done. Invoked only by the reader * thread. */ fun finishReader() { val failed: Boolean val code: Int val reason: String? var streamsToClose: Streams?
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 01 14:21:25 GMT 2024 - 22.1K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt
// Move the received data to the read buffer to the reader can read it. If this source has // been closed since this read began we must discard the incoming data and tell the // connection we've done so. ******@****.***ck { if (closed) { receiveBuffer.clear() } else { val wasEmpty = readBuffer.size == 0L readBuffer.writeAll(receiveBuffer)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 23.2K bytes - Viewed (1) -
docs/changelogs/changelog_2x.md
routes have failed but this is no exposed in the API. * **ResponseSource is gone.** This enum exposed whether a response came from the cache, network, or both. OkHttp 2 offers more detail with raw access to the cache and network responses in the new `Response` class. * **TunnelRequest is gone.** It specified how to connect to an HTTP proxy. OkHttp 2 uses the new `Request` class for this.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Feb 06 02:19:09 GMT 2022 - 26.6K bytes - Viewed (0) -
mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt
private fun acceptConnections() { while (true) { val socket: Socket try { socket = serverSocket!!.accept() } catch (e: SocketException) { logger.fine("${this@MockWebServer} done accepting connections: ${e.message}") return } val socketPolicy = dispatcher.peek().socketPolicy if (socketPolicy === DisconnectAtStart) { dispatchBookkeepingRequest(0, socket)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 31 17:16:15 GMT 2024 - 37.4K bytes - Viewed (0) -
CHANGELOG.md
* Fix: Don't do DNS to get the hostname for `RecordedRequest.requestUrl`. This was doing a DNS lookup for the local hostname, but we really just wanted the `Host` header. * Fix: Don't crash with a `InaccessibleObjectException` when detecting the platform trust manager on Java 17+. * Fix: Don't crash if a cookie's value is a lone double quote character.
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt
* limitations under the License. */ package okhttp3.internal.cache import java.net.HttpURLConnection.HTTP_BAD_METHOD import java.net.HttpURLConnection.HTTP_GONE import java.net.HttpURLConnection.HTTP_MOVED_PERM import java.net.HttpURLConnection.HTTP_MOVED_TEMP import java.net.HttpURLConnection.HTTP_MULT_CHOICE import java.net.HttpURLConnection.HTTP_NOT_AUTHORITATIVE
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12K bytes - Viewed (0)