Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 77 for Id (0.24 sec)

  1. mockwebserver-deprecated/build.gradle.kts

    import com.vanniktech.maven.publish.JavadocJar
    import com.vanniktech.maven.publish.KotlinJvm
    
    plugins {
      kotlin("jvm")
      id("org.jetbrains.dokka")
      id("com.vanniktech.maven.publish.base")
      id("binary-compatibility-validator")
    }
    
    tasks.jar {
      manifest {
        attributes("Automatic-Module-Name" to "okhttp3.mockwebserver")
      }
    }
    
    dependencies {
      api(projects.okhttp)
      api(projects.mockwebserver3)
      api(libs.junit)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 682 bytes
    - Viewed (0)
  2. okhttp-sse/src/test/java/okhttp3/sse/internal/EventSourceRecorder.kt

        events.add(Open(eventSource, response))
        drainCancelQueue(eventSource)
      }
    
      override fun onEvent(
        eventSource: EventSource,
        id: String?,
        type: String?,
        data: String,
      ) {
        get().log("[ES] onEvent", Platform.INFO, null)
        events.add(Event(id, type, data))
        drainCancelQueue(eventSource)
      }
    
      override fun onClosed(eventSource: EventSource) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        )
    
        /**
         * The peer tells us to stop creating streams. It is safe to replay streams with
         * `ID > lastGoodStreamId` on a new connection.  In- flight streams with
         * `ID <= lastGoodStreamId` can only be replayed on a new connection if they are idempotent.
         *
         * @param lastGoodStreamId the last stream ID the peer processed before sending this message. If
         *     [lastGoodStreamId] is zero, the peer processed no frames.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K 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/guide/src/main/java/okhttp3/recipes/kt/YubikeyClientAuth.kt

        val config = "--name=OpenSC\nlibrary=/Library/OpenSC/lib/opensc-pkcs11.so\nslot=$slot\n"
    
        // May fail with ProviderException with root cause like
        // sun.security.pkcs11.wrapper.PKCS11Exception: CKR_SLOT_ID_INVALID
        val pkcs11 = Security.getProvider("SunPKCS11").configure(config)
        Security.addProvider(pkcs11)
    
        val callbackHandler = ConsoleCallbackHandler
    
        val builderList: List<KeyStore.Builder> =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (1)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        }
    
        private fun extensions(): MutableList<Extension> {
          val result = mutableListOf<Extension>()
    
          if (maxIntermediateCas != -1) {
            result +=
              Extension(
                id = BASIC_CONSTRAINTS,
                critical = true,
                value =
                  BasicConstraints(
                    ca = true,
                    maxIntermediateCas = maxIntermediateCas.toLong(),
                  ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

          Adapters.BOOLEAN.optional(defaultValue = false),
          extensionValue,
          decompose = {
            listOf(
              it.id,
              it.critical,
              it.value,
            )
          },
          construct = {
            Extension(
              id = it[0] as String,
              critical = it[1] as Boolean,
              value = it[2],
            )
          },
        )
    
      /**
       * ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 13.6K bytes
    - Viewed (1)
  9. docs/contribute/concurrency.md

    This is necessary for bookkeeping when creating new streams. Correct framing requires that stream IDs are sequential on the socket, so we need to bundle assigning the ID with sending the `SYN_STREAM` frame.
    
    ## Connection Pool
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  10. 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)
Back to top