- Sort Score
- Result 10 results
- Languages All
Results 1 - 10 of 15 for Action (0.18 sec)
-
okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt
return lock.withLock(action) } inline fun <T> Http2Connection.withLock(action: () -> T): T { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } return lock.withLock(action) } inline fun <T> Http2Stream.withLock(action: () -> T): T { contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) } return lock.withLock(action) } inline fun <T> Http2Writer.withLock(action: () -> T): T {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 2.1K bytes - Viewed (0) -
docs/changelogs/changelog_4x.md
[okio_3_6_0]: https://square.github.io/okio/changelog/#version-360 [public_suffix]: https://publicsuffix.org/ [rfc_2045]: https://tools.ietf.org/html/rfc2045 [rfc_7231_647]: https://tools.ietf.org/html/rfc7231#section-6.4.7 [rfc_7692]: https://tools.ietf.org/html/rfc7692 [semver]: https://semver.org/
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Wed Apr 17 13:25:31 GMT 2024 - 25.2K bytes - Viewed (0) -
okhttp/src/test/java/okhttp3/internal/cache/DiskLruCacheTest.kt
setUp(parameters.first, parameters.second) while (taskFaker.isIdle()) { set("a", "a", "a") set("b", "b", "b") } // Cause the rebuild action to fail. filesystem.setFaultyRename(cacheDir / DiskLruCache.JOURNAL_FILE_BACKUP, true) taskFaker.runNextTask() // Don't allow edits under any circumstances. assertThat(cache.edit("a")).isNull()
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 14:55:09 GMT 2024 - 75.8K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt
abstract fun onStream(stream: Http2Stream) /** * Notification that the connection's peer's settings may have changed to [settings]. * Implementations should take appropriate action to handle the updated settings. * * Methods to this method may be made concurrently with [onStream]. But a calls to this method * are serialized. */ open fun onSettings(
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 32.6K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/CacheControl.kt
* on what responses can be stored, and which requests can be satisfied by those stored responses. * * See [RFC 7234, 5.2](https://tools.ietf.org/html/rfc7234#section-5.2). */ class CacheControl internal constructor( /** * In a response, this field's name "no-cache" is misleading. It doesn't prevent us from caching
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:41:01 GMT 2024 - 10K bytes - Viewed (0) -
regression-test/src/androidTest/java/okhttp/regression/compare/AndroidHttpEngineTest.kt
.setPathDegradationMigration(ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED) .setAllowNonDefaultNetworkUsage(ConnectionMigrationOptions.MIGRATION_OPTION_ENABLED) .build(), ) .setDnsOptions( DnsOptions.Builder() .setUseHttpStackDnsResolver(DnsOptions.DNS_OPTION_ENABLED)
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sun Mar 24 13:19:43 GMT 2024 - 6.2K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt
private fun retryAfter( userResponse: Response, defaultDelay: Int, ): Int { val header = userResponse.header("Retry-After") ?: return defaultDelay // https://tools.ietf.org/html/rfc7231#section-7.1.3 // currently ignores a HTTP-date, and assumes any non int 0 is a delay if (header.matches("\\d+".toRegex())) { return Integer.valueOf(header) } return Integer.MAX_VALUE }
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Mon Apr 15 13:24:48 GMT 2024 - 12.1K bytes - Viewed (4) -
okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt
* * In order to support preemptive authentication we pass a fake "Auth Failed" response to the * authenticator. This gives the authenticator the option to customize the CONNECT request. It can * decline to do so by returning null, in which case OkHttp will use it as-is. */ @Throws(IOException::class) private fun createTunnelRequest(route: Route): Request {
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 20 17:03:43 GMT 2024 - 12K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt
val certificateChainCleaner: CertificateChainCleaner? /** * Default call timeout (in milliseconds). By default there is no timeout for complete calls, but * there is for the connect, write, and read actions within a call. * * For WebSockets and duplex calls the timeout only applies to the initial setup. */ @get:JvmName("callTimeoutMillis") val callTimeoutMillis: Int = builder.callTimeout
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:21:33 GMT 2024 - 52K bytes - Viewed (0) -
okhttp/src/main/kotlin/okhttp3/Cookie.kt
return Cookie( cookieName, cookieValue, expiresAt, domain, path, secureOnly, httpOnly, persistent, hostOnly, sameSite, ) } /** Parse a date as specified in RFC 6265, section 5.1.1. */ private fun parseExpires( s: String, pos: Int, limit: Int, ): Long { var pos = pos pos = dateCharacterOffset(s, pos, limit, false) var hour = -1
Plain Text - Registered: Fri May 03 11:42:14 GMT 2024 - Last Modified: Sat Apr 06 04:12:05 GMT 2024 - 23.1K bytes - Viewed (0)