Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 55 for parameters (0.18 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

    import com.github.ajalt.clikt.core.CliktCommand
    import com.github.ajalt.clikt.parameters.arguments.argument
    import com.github.ajalt.clikt.parameters.options.default
    import com.github.ajalt.clikt.parameters.options.flag
    import com.github.ajalt.clikt.parameters.options.multiple
    import com.github.ajalt.clikt.parameters.options.option
    import com.github.ajalt.clikt.parameters.types.int
    import java.security.cert.X509Certificate
    import java.util.Properties
    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)
  2. okhttp/src/main/kotlin/okhttp3/internal/platform/android/BouncyCastleSocketAdapter.kt

        if (matchesSocket(sslSocket)) {
          val bcSocket = sslSocket as BCSSLSocket
    
          val sslParameters = bcSocket.parameters
    
          // Enable ALPN.
          sslParameters.applicationProtocols = Platform.alpnProtocolNames(protocols).toTypedArray()
    
          bcSocket.parameters = sslParameters
        }
      }
    
      companion object {
        val factory =
          object : DeferredSocketAdapter.Factory {
    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)
  3. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

     * of which connections to keep open for future use.
     *
     * @constructor Create a new connection pool with tuning parameters appropriate for a single-user
     * application. The tuning parameters in this pool are subject to change in future OkHttp releases.
     * Currently this pool holds up to 5 idle connections which will be evicted after 5 minutes of
     * inactivity.
     */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

        return result
      }
    }
    
    internal data class AlgorithmIdentifier(
      /** An OID string like "1.2.840.113549.1.1.11" for sha256WithRSAEncryption. */
      val algorithm: String,
      /** Parameters of a type implied by [algorithm]. */
      val parameters: Any?,
    )
    
    internal data class AttributeTypeAndValue(
      /** An OID string like "2.5.4.11" for organizationalUnitName. */
      val type: String,
      val value: Any?,
    )
    
    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)
  5. okhttp/src/test/java/okhttp3/HeadersChallengesTest.kt

            .build()
        assertThat(headers.parseChallenges("WWW-Authenticate")).containsExactly(
          Challenge("Digest", mapOf()),
        )
      }
    
      @Disabled("TODO(jwilson): reject parameters that use invalid characters")
      @Test
      fun doubleQuoteInToken() {
        val headers =
          Headers.Builder()
            .add("WWW-Authenticate", "Digest,,,, Basic ,,,realm=my\"realm")
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.6K bytes
    - Viewed (0)
  6. okhttp-tls/src/test/java/okhttp3/tls/internal/der/DerTest.kt

      @Test fun `sequence algorithm`() {
        val bytes = "300d06092a864886f70d01010b0500".decodeHex()
        val algorithmIdentifier =
          AlgorithmIdentifier(
            algorithm = SHA256_WITH_RSA_ENCRYPTION,
            parameters = null,
          )
        assertThat(CertificateAdapters.algorithmIdentifier.fromDer(bytes))
          .isEqualTo(algorithmIdentifier)
        assertThat(CertificateAdapters.algorithmIdentifier.toDer(algorithmIdentifier))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 31.7K bytes
    - Viewed (0)
  7. docs/changelogs/changelog_4x.md

        multipartReader.use {
          while (true) {
            val part = multipartReader.nextPart() ?: break
            process(part.headers, part.body)
          }
        }
        ```
    
     *  New: `MediaType.parameter()` gets a parameter like `boundary` from a media type like
        `multipart/mixed; boundary="abc"`.
    
     *  New: `Authenticator.JAVA_NET_AUTHENTICATOR` forwards authentication requests to
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      /** True if the agreed upon extension parameters includes "client_no_context_takeover". */
      @JvmField val clientNoContextTakeover: Boolean = false,
      /** Should be a value in [8..15]. Any value in that range is acceptable by OkHttp. */
      @JvmField val serverMaxWindowBits: Int? = null,
      /** True if the agreed upon extension parameters includes "server_no_context_takeover". */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

            } ?: return // Expected a value.
    
          val replaced = parameters.put(peek, parameterValue)
          peek = null
          if (replaced != null) return // Unexpected duplicate parameter.
          if (!skipCommasAndWhitespace() && !exhausted()) return // Expected ',' or EOF.
        }
        result.add(Challenge(schemeName, parameters))
      }
    }
    
    /** Returns true if any commas were skipped. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  10. android-test/src/androidTest/java/okhttp/android/test/sni/SniOverrideTest.kt

            if (Build.VERSION.SDK_INT >= Build.VERSION_CODES.N) {
              val parameters = sslSocket.sslParameters
              val sni = parameters.serverNames
              Log.d("CustomSSLSocketFactory", "old SNI: $sni")
              parameters.serverNames = mutableListOf<SNIServerName>(SNIHostName("cloudflare-dns.com"))
              sslSocket.sslParameters = parameters
            }
    
            return sslSocket
          }
        }
    
        client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
Back to top