Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 605 for versions (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

    import okhttp3.internal.platform.Platform.Companion.isAndroid
    
    /**
     * Simple non-reflection SocketAdapter for Android Q+.
     *
     * These API assumptions make it unsuitable for use on earlier Android versions.
     */
    @SuppressLint("NewApi")
    @SuppressSignatureCheck
    class Android10SocketAdapter : SocketAdapter {
      override fun matchesSocket(sslSocket: SSLSocket): Boolean = SSLSockets.isSupportedSocket(sslSocket)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Handshake.kt

     * handshakes.
     */
    class Handshake internal constructor(
      /**
       * Returns the TLS version used for this connection. This value wasn't tracked prior to OkHttp
       * 3.0. For responses cached by preceding versions this returns [TlsVersion.SSL_3_0].
       */
      @get:JvmName("tlsVersion") val tlsVersion: TlsVersion,
      /** Returns the cipher suite used for the connection. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.8K bytes
    - Viewed (0)
  3. okhttp-urlconnection/build.gradle.kts

      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    project.applyOsgi(
      "Fragment-Host: com.squareup.okhttp3; bundle-version=\"\${range;[==,+);\${version_cleanup;${projects.okhttp.version}}}\"",
      "Automatic-Module-Name: okhttp3.urlconnection",
      "Bundle-SymbolicName: com.squareup.okhttp3.urlconnection",
      "-removeheaders: Private-Package"
    )
    
    dependencies {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 16:20:29 GMT 2023
    - 764 bytes
    - Viewed (0)
  4. okhttp-android/build.gradle.kts

            isIncludeAndroidResources = true
          }
    
          targetSdk = 34
        }
      }
    
      compileOptions {
        targetCompatibility(JavaVersion.VERSION_11)
        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    }
    
    dependencies {
      api(libs.squareup.okio)
      api(projects.okhttp)
      api(projects.loggingInterceptor)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    internal data class PrivateKeyInfo(
      // v1(0), v2(1).
      val version: Long,
      val algorithmIdentifier: AlgorithmIdentifier,
      val privateKey: ByteString,
    ) {
      // Avoid Long.hashCode(long) which isn't available on Android 5.
      override fun hashCode(): Int {
        var result = 0
        result = 31 * result + version.toInt()
        result = 31 * result + algorithmIdentifier.hashCode()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  6. mockwebserver/README.md

            switch (request.getPath()) {
                case "/v1/login/auth/":
                    return new MockResponse().setResponseCode(200);
                case "/v1/check/version/":
                    return new MockResponse().setResponseCode(200).setBody("version=9");
                case "/v1/profile/info":
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  7. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/SslLabsScrape.kt

    /*
     * Copyright (C) 2016 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  8. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        internal const val DEFAULT_TIMEOUT = -1
    
        private fun versionString(): String? {
          val prop = Properties()
          Main::class.java.getResourceAsStream("/okcurl-version.properties")?.use {
            prop.load(it)
          }
          return prop.getProperty("version", "dev")
        }
    
        private fun createInsecureTrustManager(): X509TrustManager =
          object : X509TrustManager {
            override fun checkClientTrusted(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  9. samples/tlssurvey/build.gradle.kts

    plugins {
      kotlin("jvm")
      application
      id("com.google.devtools.ksp").version("1.9.23-1.0.20")
    }
    
    application {
      mainClass.set("okhttp3.survey.RunSurveyKt")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(projects.okhttpCoroutines)
      implementation(libs.conscrypt.openjdk)
    
      implementation("com.squareup.retrofit2:retrofit:2.11.0")
      implementation("com.squareup.retrofit2:converter-moshi:2.11.0")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 08 02:48:17 GMT 2024
    - 617 bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/PushPromise.kt

    /*
     * Copyright (C) 2014 Square, Inc.
     *
     * Licensed under the Apache License, Version 2.0 (the "License");
     * you may not use this file except in compliance with the License.
     * You may obtain a copy of the License at
     *
     *      http://www.apache.org/licenses/LICENSE-2.0
     *
     * Unless required by applicable law or agreed to in writing, software
     * distributed under the License is distributed on an "AS IS" BASIS,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 874 bytes
    - Viewed (0)
Back to top