Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 221 - 230 of 711 for okhttp3 (0.04 seconds)

  1. build-logic/src/main/kotlin/okhttp.testing-conventions.gradle.kts

    import org.gradle.api.tasks.testing.logging.TestExceptionFormat
    import org.gradle.api.artifacts.VersionCatalogsExtension
    import okhttp3.buildsupport.platform
    import okhttp3.buildsupport.testJavaVersion
    
    plugins {
      id("okhttp.base-conventions")
    }
    
    val libs = extensions.getByType<VersionCatalogsExtension>().named("libs")
    
    fun library(alias: String) = libs.findLibrary(alias).get().get().let {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Feb 07 07:16:57 GMT 2026
    - 1.7K bytes
    - Click Count (0)
  2. regression-test/src/androidTest/java/okhttp/regression/LetsEncryptTest.java

    import java.security.cert.CertificateFactory;
    import java.security.cert.X509Certificate;
    
    import okhttp3.OkHttpClient;
    import okhttp3.Protocol;
    import okhttp3.Request;
    import okhttp3.Response;
    import okhttp3.tls.HandshakeCertificates;
    import org.junit.Test;
    import org.junit.runner.RunWith;
    import javax.net.ssl.SSLHandshakeException;
    
    import static org.junit.Assert.assertEquals;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 17 07:40:31 GMT 2020
    - 6.1K bytes
    - Click Count (0)
  3. module-tests/build.gradle.kts

      testImplementation(projects.loggingInterceptor)
      testImplementation(projects.mockwebserver3)
      testImplementation(projects.mockwebserver3Junit5)
    
      testImplementation(libs.junit.jupiter.api)
      testRuntimeOnly(libs.junit.jupiter.engine)
      testRuntimeOnly(libs.junit.platform.launcher)
    }
    
    application {
      mainClass = "okhttp3.modules.Main"
      mainModule = "okhttp3.modules"
    }
    
    jlinkApplication {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 1.8K bytes
    - Click Count (0)
  4. okhttp-sse/build.gradle.kts

    plugins {
      kotlin("jvm")
      id("okhttp.publish-conventions")
      id("okhttp.jvm-conventions")
      id("okhttp.quality-conventions")
      id("okhttp.testing-conventions")
    }
    
    project.applyOsgi(
      "Export-Package: okhttp3.sse",
      "Bundle-SymbolicName: com.squareup.okhttp3.sse",
    )
    
    project.applyJavaModules("okhttp3.sse")
    
    dependencies {
      api(projects.okhttp)
    
      testImplementation(projects.okhttpTestingSupport)
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Feb 03 22:17:59 GMT 2026
    - 536 bytes
    - Click Count (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/UnreadableResponseBody.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal
    
    import okhttp3.MediaType
    import okhttp3.Response
    import okhttp3.ResponseBody
    import okio.Buffer
    import okio.Source
    import okio.Timeout
    import okio.buffer
    
    internal class UnreadableResponseBody(
      private val mediaType: MediaType?,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue May 27 15:19:53 GMT 2025
    - 1.7K bytes
    - Click Count (0)
  6. samples/guide/src/main/java/okhttp3/recipes/UploadProgress.java

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.recipes;
    
    import okhttp3.MediaType;
    import okhttp3.OkHttpClient;
    import okhttp3.Request;
    import okhttp3.RequestBody;
    import okhttp3.Response;
    import okio.Buffer;
    import okio.BufferedSink;
    import okio.ForwardingSink;
    import okio.Okio;
    import okio.Sink;
    import java.io.File;
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Sat Aug 30 17:01:12 GMT 2025
    - 4.2K bytes
    - Click Count (1)
  7. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/HuffmanTest.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import assertk.assertThat
    import assertk.assertions.isEqualTo
    import java.util.Random
    import okhttp3.internal.http2.Huffman.decode
    import okhttp3.internal.http2.Huffman.encode
    import okhttp3.internal.http2.Huffman.encodedLength
    import okio.Buffer
    import okio.ByteString
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Fri Dec 27 13:39:56 GMT 2024
    - 1.8K bytes
    - Click Count (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

    import okhttp3.internal.connection.RealConnectionPool
    import okhttp3.internal.http2.Http2
    import okhttp3.internal.taskRunnerInternal
    import okhttp3.testing.Flaky
    import okhttp3.testing.PlatformRule.Companion.LOOM_PROPERTY
    import okhttp3.testing.PlatformRule.Companion.getPlatformSystemProperty
    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Assertions.fail
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 10.8K bytes
    - Click Count (0)
  9. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import mockwebserver3.junit5.StartStop
    import okhttp3.Cache
    import okhttp3.CallEvent
    import okhttp3.CallEvent.CacheHit
    import okhttp3.CallEvent.CacheMiss
    import okhttp3.Dns
    import okhttp3.EventRecorder
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Nov 04 19:13:52 GMT 2025
    - 11.9K bytes
    - Click Count (0)
  10. samples/guide/src/main/java/okhttp3/recipes/kt/AccessHeaders.kt

     * limitations under the License.
     */
    package okhttp3.recipes.kt
    
    import java.io.IOException
    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class AccessHeaders {
      private val client = OkHttpClient()
    
      fun run() {
        val request =
          Request
            .Builder()
            .url("https://api.github.com/repos/square/okhttp/issues")
            .header("User-Agent", "OkHttp Headers.java")
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 1.4K bytes
    - Click Count (0)
Back to Top