Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for Id (0.11 sec)

  1. okhttp-android/build.gradle.kts

    @file:SuppressLint("OldTargetApi")
    
    import android.annotation.SuppressLint
    import com.vanniktech.maven.publish.JavadocJar
    
    plugins {
      id("com.android.library")
      kotlin("android")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android"
    
      defaultConfig {
        minSdk = 21
    
    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)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/types/SuiteId.kt

     * limitations under the License.
     */
    package okhttp3.survey.types
    
    import okio.ByteString
    
    data class SuiteId(val id: ByteString?, val name: String) {
      fun matches(suiteId: SuiteId): Boolean {
        return id == suiteId.id || name.substring(4) == suiteId.name.substring(4)
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 842 bytes
    - Viewed (0)
  3. 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)
  4. samples/tlssurvey/src/main/kotlin/okhttp3/survey/ssllabs/UserAgentCapabilities.kt

      val abortsOnUnrecognizedName: Boolean,
      val alpnProtocols: List<String>,
      val ellipticCurves: List<Int>,
      val handshakeFormat: String,
      val hexHandshakeBytes: String,
      val highestProtocol: Int,
      val id: Int,
      val isGrade0: Boolean,
      val lowestProtocol: Int,
      val maxDhBits: Int,
      val maxRsaBits: Int,
      val minDhBits: Int,
      val minEcdsaBits: Int,
      val minRsaBits: Int,
      val name: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

       * a part of the response to `streamId`. The `promisedStreamId` has a priority of one greater than
       * `streamId`.
       *
       * @param streamId client-initiated stream ID.  Must be an odd number.
       * @param promisedStreamId server-initiated stream ID.  Must be an even number.
       * @param requestHeaders minimally includes `:method`, `:scheme`, `:authority`, and `:path`.
       */
      @Throws(IOException::class)
      fun pushPromise(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  6. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
        FileSystem.RESOURCES.read("okhttp_$version.txt".toPath()) {
          this.readUtf8().lines().filter { it.isNotBlank() }.map {
            SuiteId(id = null, name = it.trim())
          }
        }
      return Client(
        userAgent = "OkHttp",
        version = version,
        enabled = enabled,
      )
    }
    
    fun currentVm(ianaSuites: IanaSuites): Client {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Apr 02 01:44:15 GMT 2024
    - 2.5K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/FakeRoutePlanner.kt

            canceled -> {
              events += "plan $id TCP connect canceled"
              ConnectResult(this, nextPlan = connectTcpNextPlan, throwable = IOException("canceled"))
            }
            connectTcpNextPlan != null -> {
              events += "plan $id needs follow-up"
              ConnectResult(this, nextPlan = connectTcpNextPlan)
            }
            else -> {
              events += "plan $id TCP connected"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 24 04:40:49 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

          return // Already closed.
        }
        connection.writeSynReset(id, rstStatusCode)
      }
    
      /**
       * Abnormally terminate this stream. This enqueues a `RST_STREAM` frame and returns immediately.
       */
      fun closeLater(errorCode: ErrorCode) {
        if (!closeInternal(errorCode, null)) {
          return // Already closed.
        }
        connection.writeSynResetLater(id, errorCode)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

              // If we're shutdown, don't bother with this stream.
              if (isShutdown) return
    
              // If the stream ID is less than the last created ID, assume it's already closed.
              if (streamId <= lastGoodStreamId) return
    
              // If the stream ID is in the client's namespace, assume it's already closed.
              if (streamId % 2 == nextStreamId % 2) return
    
              // Create a stream.
    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)
  10. settings.gradle.kts

    import java.util.Properties
    
    rootProject.name = "okhttp-parent"
    
    plugins {
      id("org.gradle.toolchains.foojay-resolver-convention") version("0.8.0")
    }
    
    include(":mockwebserver")
    project(":mockwebserver").name = "mockwebserver3"
    include(":mockwebserver-deprecated")
    project(":mockwebserver-deprecated").name = "mockwebserver"
    include(":mockwebserver-junit4")
    project(":mockwebserver-junit4").name = "mockwebserver3-junit4"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Apr 14 14:24:05 GMT 2024
    - 2.6K bytes
    - Viewed (0)
Back to top