Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 42 for Tarang (0.16 sec)

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

            this.cipherSuites = null
          }
    
        fun cipherSuites(vararg cipherSuites: CipherSuite): Builder =
          apply {
            require(tls) { "no cipher suites for cleartext connections" }
            val strings = cipherSuites.map { it.javaName }.toTypedArray()
            return cipherSuites(*strings)
          }
    
        fun cipherSuites(vararg cipherSuites: String) =
          apply {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/ConnectionReuseTest.kt

      }
    
      private fun assertConnectionReused(vararg requests: Request?) {
        for (i in requests.indices) {
          val response = client.newCall(requests[i]!!).execute()
          response.body.string() // Discard the response body.
          assertThat(server.takeRequest().sequenceNumber).isEqualTo(i)
        }
      }
    
      private fun assertConnectionNotReused(vararg requests: Request?) {
        for (request in requests) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/TestUtilCommon.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.Buffer
    import okio.Path
    import okio.Path.Companion.toPath
    
    val okHttpRoot: Path
      get() = getEnv("OKHTTP_ROOT")!!.toPath()
    
    fun String(vararg codePoints: Int): String {
      val buffer = Buffer()
      for (codePoint in codePoints) {
        buffer.writeUtf8CodePoint(codePoint)
      }
      return buffer.readUtf8()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 931 bytes
    - Viewed (0)
  4. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http/RecordingProxySelector.kt

      private val failures = mutableListOf<String>()
    
      override fun select(uri: URI): List<Proxy> {
        requestedUris.add(uri)
        return proxies
      }
    
      fun assertRequests(vararg expectedUris: URI?) {
        assertThat(requestedUris).containsExactly(*expectedUris)
        requestedUris.clear()
      }
    
      override fun connectFailed(
        uri: URI,
        sa: SocketAddress,
        ioe: IOException,
      ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

       * `heldCertificate` is null.
       */
      @JvmStatic
      fun newKeyManager(
        keyStoreType: String?,
        heldCertificate: HeldCertificate?,
        vararg intermediates: X509Certificate,
      ): X509KeyManager {
        val keyStore = newEmptyKeyStore(keyStoreType)
        if (heldCertificate != null) {
          val chain = arrayOfNulls<Certificate>(1 + intermediates.size)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/resources/okhttp3/internal/idna/IdnaMappingTable.txt

    118BF         ; mapped                 ; 118DF         # 7.0  WARANG CITI CAPITAL LETTER VIYO
    118C0..118E9  ; valid                                  # 7.0  WARANG CITI SMALL LETTER NGAA..WARANG CITI DIGIT NINE
    118EA..118F2  ; valid                  ;      ; NV8    # 7.0  WARANG CITI NUMBER TEN..WARANG CITI NUMBER NINETY
    118F3..118FE  ; disallowed                             # NA   <reserved-118F3>..<reserved-118FE>
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Feb 10 11:25:47 GMT 2024
    - 854.1K bytes
    - Viewed (2)
  7. okcurl/src/test/kotlin/okhttp3/curl/MainTest.kt

            "http://example.com",
          ).createRequest()
        assertThat(request.header("If-Modified-Since")).isEqualTo(
          "Mon, 18 Aug 2014 15:16:06 GMT",
        )
      }
    
      companion object {
        fun fromArgs(vararg args: String): Main {
          return Main().apply {
            parse(args.toList())
          }
        }
    
        private fun bodyAsString(body: RequestBody?): String {
          return try {
            val buffer = Buffer()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  8. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

          }
    
        fun bootstrapDnsHosts(bootstrapDnsHosts: List<InetAddress>?) =
          apply {
            this.bootstrapDnsHosts = bootstrapDnsHosts
          }
    
        fun bootstrapDnsHosts(vararg bootstrapDnsHosts: InetAddress): Builder = bootstrapDnsHosts(bootstrapDnsHosts.toList())
    
        fun systemDns(systemDns: Dns) =
          apply {
            this.systemDns = systemDns
          }
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  9. docs/changelogs/upgrading_to_okhttp_4.md

     * **TlsVersion**: javaName
    
    #### Renamed Functions
    
    * **Headers.of()**: for symmetry with `listOf()`, `setOf()`, etc., we’ve replaced
      `Headers.of(String...)` with `headersOf(vararg String)`.
    
    #### Extension Functions
    
    We’ve migrated from static functions to extension functions where we think they fit.
    
    | Java                                | Kotlin                          |
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/tls/CertificatePinnerChainValidationTest.kt

              .build(),
          )
        val response1 = call1.execute()
        assertThat(response1.body.string()).isEqualTo("abc")
      }
    
      private fun newServerSocketFactory(
        heldCertificate: HeldCertificate,
        vararg intermediates: X509Certificate,
      ): SSLSocketFactory {
        // Test setup fails on JDK9
        // java.security.KeyStoreException: Certificate chain is not valid
        // at sun.security.pkcs12.PKCS12KeyStore.setKeyEntry
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 23.8K bytes
    - Viewed (0)
Back to top