- Sort Score
- Result 10 results
- Languages All
Results 91 - 100 of 4,587 for okhttp (0.42 sec)
-
okhttp-coroutines/README.md
OkHttp Coroutines ================= Support for Kotlin clients using coroutines. ```kotlin val call = client.newCall(request) call.executeAsync().use { response -> withContext(Dispatchers.IO) { println(response.body?.string()) } } ``` This is implemented using `suspendCancellableCoroutine` but uses the standard Dispatcher in OkHttp. This means that by default Kotlin's Dispatchers are not used.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Thu Nov 09 15:47:27 UTC 2023 - 609 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/ws/WebSocketHttpTest.kt
import mockwebserver3.junit5.StartStop import okhttp3.Interceptor import okhttp3.OkHttpClient import okhttp3.OkHttpClientTestRule import okhttp3.Protocol import okhttp3.RecordingEventListener import okhttp3.RecordingHostnameVerifier import okhttp3.Request import okhttp3.Response import okhttp3.TestLogHandler import okhttp3.TestUtil.assumeNotWindows import okhttp3.TestUtil.repeat import okhttp3.WebSocket import okhttp3.WebSocketListener
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Jun 20 11:46:46 UTC 2025 - 35.5K bytes - Viewed (0) -
android-test-app/build.gradle.kts
@file:Suppress("UnstableApiUsage") plugins { id("com.android.application") id("kotlin-android") } android { compileSdk = 36 namespace = "okhttp.android.testapp" testBuildType = "release" defaultConfig { minSdk = 21 targetSdk = 36 testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner" } compileOptions { targetCompatibility(JavaVersion.VERSION_11)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jul 19 12:35:48 UTC 2025 - 1.2K bytes - Viewed (0) -
okhttp-sse/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.sse", "Automatic-Module-Name: okhttp3.sse", "Bundle-SymbolicName: com.squareup.okhttp3.sse" ) dependencies { api(projects.okhttp) testImplementation(projects.okhttpTestingSupport) testImplementation(projects.mockwebserver3)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed May 14 00:51:50 UTC 2025 - 678 bytes - Viewed (0) -
okhttp/src/commonJvmAndroid/kotlin/okhttp3/ConnectionSpec.kt
* limitations under the License. */ package okhttp3 import java.util.Arrays import java.util.Objects import javax.net.ssl.SSLSocket import okhttp3.ConnectionSpec.Builder import okhttp3.internal.concat import okhttp3.internal.effectiveCipherSuites import okhttp3.internal.hasIntersection import okhttp3.internal.indexOf import okhttp3.internal.intersect /**
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Fri Dec 27 13:39:56 UTC 2024 - 13.4K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/kt/PerCallSettings.kt
* limitations under the License. */ package okhttp3.recipes.kt import java.io.IOException import java.util.concurrent.TimeUnit import okhttp3.OkHttpClient import okhttp3.Request class PerCallSettings { private val client = OkHttpClient() fun run() { val request = Request .Builder() .url("http://httpbin.org/delay/1") // This URL is served with a 1 second delay.
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Mar 19 19:25:20 UTC 2025 - 1.7K bytes - Viewed (0) -
okhttp/src/androidMain/baseline-prof.txt
HSPLokhttp3/Response$Builder;->protocol(Lokhttp3/Protocol;)Lokhttp3/Response$Builder; HSPLokhttp3/Response;-><init>(Lokhttp3/Request;Lokhttp3/Protocol;Ljava/lang/String;ILokhttp3/Handshake;Lokhttp3/Headers;Lokhttp3/ResponseBody;Lokhttp3/Response;Lokhttp3/Response;Lokhttp3/Response;JJLokhttp3/internal/connection/Exchange;)V HSPLokhttp3/Response;->close()V
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Mon Dec 30 23:28:56 UTC 2024 - 127.9K bytes - Viewed (0) -
okhttp-coroutines/build.gradle.kts
id("com.vanniktech.maven.publish.base") id("binary-compatibility-validator") } project.applyOsgi( "Export-Package: okhttp3.coroutines", "Automatic-Module-Name: okhttp3.coroutines", "Bundle-SymbolicName: com.squareup.okhttp3.coroutines" ) dependencies { api(projects.okhttp) implementation(libs.kotlinx.coroutines.core) api(libs.squareup.okio) api(libs.kotlin.stdlib)
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sat Jan 06 05:31:00 UTC 2024 - 936 bytes - Viewed (0) -
okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt
* limitations under the License. */ package okhttp3.internal.publicsuffix import java.util.SortedSet import java.util.TreeSet import kotlinx.coroutines.Dispatchers import kotlinx.coroutines.withContext import okhttp3.HttpUrl.Companion.toHttpUrl import okhttp3.OkHttpClient import okhttp3.Request import okhttp3.coroutines.executeAsync
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Wed Aug 06 05:33:11 UTC 2025 - 6.1K bytes - Viewed (0) -
samples/guide/src/main/java/okhttp3/recipes/PerCallSettings.java
* See the License for the specific language governing permissions and * limitations under the License. */ package okhttp3.recipes; import java.io.IOException; import java.util.concurrent.TimeUnit; import okhttp3.OkHttpClient; import okhttp3.Request; import okhttp3.Response; public final class PerCallSettings { private final OkHttpClient client = new OkHttpClient(); public void run() throws Exception {
Registered: Fri Sep 05 11:42:10 UTC 2025 - Last Modified: Sun May 22 01:29:42 UTC 2016 - 1.9K bytes - Viewed (0)