Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 55 for parameters (1.61 sec)

  1. 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)
  2. samples/guide/src/test/kotlin/okhttp3/AllMainsTest.kt

      fun runMain(className: String) {
        val mainMethod =
          Class.forName(className)
            .methods.find { it.name == "main" }
        try {
          if (mainMethod != null) {
            if (mainMethod.parameters.isEmpty()) {
              mainMethod.invoke(null)
            } else {
              mainMethod.invoke(null, arrayOf<String>())
            }
          } else {
            System.err.println("No main for $className")
          }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  3. CHANGELOG.md

        data to the override URL. For example, you could add a `request-body-sha256` query parameter so
        requests with the same POST data get the same cache entry.
    
     *  New: `HttpLoggingInterceptor.redactQueryParams()` configures the query parameters to redact
        in logs. For best security, don't put sensitive information in query parameters.
    
     *  New: `ConnectionPool.setPolicy()` configures a minimum connection pool size for a target
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

     *
     * See [NativeCrypto.java][conscrypt_providers] which lists the cipher suites supported by
     * Conscrypt.
     *
     * [iana_tls_parameters]: https://www.iana.org/assignments/tls-parameters/tls-parameters.xhtml
     * [sslengine]: https://developer.android.com/reference/javax/net/ssl/SSLEngine.html
     * [oracle_providers]: https://docs.oracle.com/javase/10/security/oracle-providers.htm
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. gradlew

    #   Important for patching:
    #
    #   (2) This script targets any POSIX shell, so it avoids extensions provided
    #       by Bash, Ksh, etc; in particular arrays are avoided.
    #
    #       The "traditional" practice of packing multiple parameters into a
    #       space-separated string is a well documented source of bugs and security
    #       problems, so this is (mostly) avoided, by progressively accumulating
    #       options in "$@", and eventually passing that to Java.
    #
    Shell Script
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 8.5K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/EventListener.kt

     * your application's HTTP calls.
     *
     * All start/connect/acquire events will eventually receive a matching end/release event, either
     * successful (non-null parameters), or failed (non-null throwable). The first common parameters of
     * each event pair are used to link the event in case of concurrent or repeated events e.g.
     * `dnsStart(call, domainName)` → `dnsEnd(call, domainName, inetAddressList)`.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/JsseDebugLogging.kt

        System.setProperty("javax.net.debug", "")
        return OkHttpDebugLogging.enable(
          "javax.net.ssl",
          object : Handler() {
            override fun publish(record: LogRecord) {
              val param = record.parameters?.firstOrNull() as? String
              debugHandler(JsseDebugMessage(record.message, param))
            }
    
            override fun flush() {
            }
    
            override fun close() {
            }
          },
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  8. docs/changelogs/changelog_3x.md

     *  New: `Headers.Builder` now accepts dates.
     *  New: OkHttp now accepts `java.time.Duration` for timeouts on Java 8+ and Android 26+.
     *  New: `Challenge` includes all authentication parameters.
     *  New: Upgrade to BouncyCastle 1.60, Conscrypt 1.4.0, and Okio 1.15.0. We don't yet require
        Kotlin-friendly Okio 2.x but OkHttp works fine with that series.
    
        ```kotlin
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/MultipartBody.kt

        /**
         * Appends a quoted-string to a StringBuilder.
         *
         * RFC 2388 is rather vague about how one should escape special characters in form-data
         * parameters, and as it turns out Firefox and Chrome actually do rather different things, and
         * both say in their comments that they're not really sure what the right approach is. We go
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/ws/RealWebSocket.kt

              e: IOException,
            ) {
              failWebSocket(e)
            }
          },
        )
      }
    
      private fun WebSocketExtensions.isValid(): Boolean {
        // If the server returned parameters we don't understand, fail the web socket.
        if (unknownValues) return false
    
        // If the server returned a value for client_max_window_bits, fail the web socket.
        if (clientMaxWindowBits != null) return false
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 22.1K bytes
    - Viewed (0)
Back to top