- Sort Score
- Result 10 results
- Languages All
Results 1 - 9 of 9 for Ball (0.16 sec)
-
okhttp-coroutines/src/test/kotlin/okhttp3/coroutines/ExecuteAsyncTest.kt
runTest { val call = ClosableCall() supervisorScope { assertFailsWith<CancellationException> { coroutineScope { call.afterCallbackOnResponse = { coroutineContext.job.cancel() } call.executeAsync() } } } assertThat(call.canceled).isTrue()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 5.4K bytes - Viewed (0) -
okhttp-coroutines/src/main/kotlin/okhttp3/coroutines/ExecuteAsync.kt
} this.enqueue( object : Callback { override fun onFailure( call: Call, e: IOException, ) { continuation.resumeWithException(e) } override fun onResponse( call: Call, response: Response, ) { continuation.resume(response) { response.closeQuietly() } } }, )
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 1.5K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/components/KtFirCompilerFacility.kt
* (via generateReflectiveAccessForGetter) and it is called for the private access member lowered to the getter/setter call. * If a private property has no getter/setter (the typical situation for simple private properties without explicitly defined * getter/setter) then this method is not used at all. Instead
Plain Text - Registered: Fri Apr 19 08:18:09 GMT 2024 - Last Modified: Thu Apr 18 12:36:23 GMT 2024 - 31.9K bytes - Viewed (1) -
samples/tlssurvey/src/main/kotlin/okhttp3/survey/Iana.kt
} } suspend fun fetchIanaSuites(okHttpClient: OkHttpClient): IanaSuites { val url = "https://www.iana.org/assignments/tls-parameters/tls-parameters-4.csv" val call = okHttpClient.newCall(Request(url.toHttpUrl())) val suites = call.executeAsync().use { if (!it.isSuccessful) { throw IOException("Failed ${it.code} ${it.message}") } it.body.string().lines()
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 2K bytes - Viewed (0) -
okhttp-coroutines/api/okhttp-coroutines.api
public final class okhttp3/coroutines/ExecuteAsyncKt { public static final fun executeAsync (Lokhttp3/Call;Lkotlin/coroutines/Continuation;)Ljava/lang/Object;
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:24:38 GMT 2024 - 163 bytes - Viewed (0) -
CHANGELOG.md
* Fix: Honor `RequestBody.isOneShot()` in `MultipartBody` * Fix in `okhttp-coroutines`: Don't leak response bodies in `executeAsync()`. We had a bug where we didn't call `Response.close()` if the coroutine was canceled before its response was returned. * Upgrade: [Okio 3.9.0][okio_3_9_0]. * Upgrade: [Kotlin 1.9.23][kotlin_1_9_23].
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:31:39 GMT 2024 - 21.4K bytes - Viewed (0) -
build.gradle.kts
allprojects { group = "com.squareup.okhttp3" version = "5.0.0-SNAPSHOT" repositories { mavenCentral() google() } tasks.create("downloadDependencies") { description = "Download all dependencies to the Gradle cache" doLast { for (configuration in configurations) { if (configuration.isCanBeResolved) { configuration.files } } } }
Plain Text - Registered: Fri Apr 19 11:42:09 GMT 2024 - Last Modified: Thu Apr 18 01:32:42 GMT 2024 - 8.9K bytes - Viewed (0) -
.github/workflows/scorecard.yml
# https://github.com/ossf/scorecard/blob/main/docs/checks.md#maintained schedule: - cron: '45 9 * * 0' push: branches: [ "master" ] # Declare default permissions as read only. permissions: read-all jobs: analysis: name: Scorecard analysis runs-on: ubuntu-latest permissions: # Needed to upload the results to code-scanning dashboard. security-events: write
Others - Registered: Fri Apr 19 12:43:09 GMT 2024 - Last Modified: Thu Apr 18 17:25:49 GMT 2024 - 2.9K bytes - Viewed (0) -
analysis/analysis-api-fir/src/org/jetbrains/kotlin/analysis/api/fir/KtFirAnalysisSession.kt
Plain Text - Registered: Fri Apr 19 08:18:09 GMT 2024 - Last Modified: Thu Apr 18 10:43:08 GMT 2024 - 9.4K bytes - Viewed (0)