Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 71 for map (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/Headers.kt

        @JvmStatic
        @JvmName("of")
        fun Map<String, String>.toHeaders(): Headers = commonToHeaders()
    
        @JvmName("-deprecated_of")
        @Deprecated(
          message = "function moved to extension",
          replaceWith = ReplaceWith(expression = "headers.toHeaders()"),
          level = DeprecationLevel.ERROR,
        )
        fun of(headers: Map<String, String>): Headers {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. samples/tlssurvey/src/main/kotlin/okhttp3/survey/Clients.kt

      return Client(
        userAgent = "OkHttp",
        version = OkHttp.VERSION,
        enabled =
          ConnectionSpec.MODERN_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
        supported =
          ConnectionSpec.COMPATIBLE_TLS.cipherSuites!!.map {
            ianaSuites.fromJavaName(it.javaName)
          },
      )
    }
    
    fun historicOkHttp(version: String): Client {
      val enabled =
    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)
  3. okhttp-tls/src/test/java/okhttp3/tls/HandshakeCertificatesTest.kt

            .addPlatformTrustedCertificates()
            .build()
        val acceptedIssuers = handshakeCertificates.trustManager.acceptedIssuers
        val names =
          acceptedIssuers
            .map { it.subjectDN.name }
            .toSet()
    
        // It's safe to assume all platforms will have a major Internet certificate issuer.
        assertThat(names).matchesPredicate { strings ->
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.1K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/connection/RouteSelectorTest.kt

        val (ipv4_1, ipv4_2) = dns.allocate(2)
        val (ipv6_1, ipv6_2) = dns.allocateIpv6(2)
        dns[uriHost] = listOf(ipv4_1, ipv4_2, ipv6_1, ipv6_2)
    
        val selection = routeSelector.next()
        assertThat(selection.routes.map { it.socketAddress.address }).containsExactly(
          ipv4_1,
          ipv4_2,
          ipv6_1,
          ipv6_2,
        )
      }
    
      @Test fun addressesSortedWhenFastFallbackIsOn() {
        val address =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 20.8K bytes
    - Viewed (0)
  5. kotlin-js-store/yarn.lock

      integrity sha512-oqXpzDIByKONVY8g1NUPOTQhe0UTU5bWUl32GSkqK2LjJj0HmwTMVKxcUip0RgAYhY1mqgOxjbQM48a0mmeNfA==
      dependencies:
        abab "^2.0.6"
        iconv-lite "^0.6.3"
        source-map-js "^1.0.2"
    
    source-map-support@0.5.21, source-map-support@~0.5.20:
      version "0.5.21"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  6. okhttp/src/test/resources/okhttp3/internal/idn/rfc3454.B.2.txt

       0042; 0062; Case map
       0043; 0063; Case map
       0044; 0064; Case map
       0045; 0065; Case map
       0046; 0066; Case map
       0047; 0067; Case map
       0048; 0068; Case map
       0049; 0069; Case map
       004A; 006A; Case map
       004B; 006B; Case map
       004C; 006C; Case map
       004D; 006D; Case map
       004E; 006E; Case map
       004F; 006F; Case map
       0050; 0070; Case map
       0051; 0071; Case map
       0052; 0072; Case map
    Plain Text
    - Registered: Fri Mar 29 11:42:11 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 38.8K bytes
    - Viewed (0)
  7. android-test/src/androidTest/java/okhttp/android/test/OkHttpTest.kt

        val ephemeral_keys_supported: Boolean,
        val rating: String,
        val tls_version: String,
        val able_to_detect_n_minus_one_splitting: Boolean,
        val insecure_cipher_suites: Map<String, List<String>>,
        val given_cipher_suites: List<String>?,
      )
    
      @Test
      @Disabled
      fun testSSLFeatures() {
        assumeNetwork()
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 27K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/Handshake.kt

      }
    
      override fun toString(): String {
        val peerCertificatesString = peerCertificates.map { it.name }.toString()
        return "Handshake{" +
          "tlsVersion=$tlsVersion " +
          "cipherSuite=$cipherSuite " +
          "peerCertificates=$peerCertificatesString " +
          "localCertificates=${localCertificates.map { it.name }}}"
      }
    
      private val Certificate.name: String
        get() =
          when (this) {
    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)
  9. okhttp/src/main/kotlin/okhttp3/Request.kt

        internal var method: String
        internal var headers: Headers.Builder
        internal var body: RequestBody? = null
        internal var cacheUrlOverride: HttpUrl? = null
    
        /** A mutable map of tags, or an immutable empty map if we don't have any. */
        internal var tags = mapOf<KClass<*>, Any>()
    
        constructor() {
          this.method = "GET"
          this.headers = Headers.Builder()
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/RecordingExecutor.kt

      override fun execute(command: Runnable) {
        if (shutdown) throw RejectedExecutionException()
        calls.add(command as RealCall.AsyncCall)
      }
    
      fun assertJobs(vararg expectedUrls: String) {
        val actualUrls = calls.map { it.request.url.toString() }
        assertThat(actualUrls).containsExactly(*expectedUrls)
      }
    
      fun finishJob(url: String) {
        val i = calls.iterator()
        while (i.hasNext()) {
          val call = i.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.1K bytes
    - Viewed (0)
Back to top