Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 36 for pretty (0.3 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * MockWebServer. In cases where logic is particularly tricky, we use unit tests. This class makes
     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/CertificateAdapters.kt

      /** The type of the parameters depends on the algorithm that precedes it. */
      private val algorithmParameters: DerAdapter<Any?> =
        Adapters.usingTypeHint { typeHint ->
          when (typeHint) {
            // This type is pretty strange. The spec says that for certain algorithms we must encode null
            // when it is present, and for others we must omit it!
            // https://tools.ietf.org/html/rfc4055#section-2.1
    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)
  3. gradle/libs.versions.toml

    guava-jre = "com.google.guava:guava:33.1.0-jre"
    hamcrestLibrary = "org.hamcrest:hamcrest-library:2.2"
    httpClient5 = "org.apache.httpcomponents.client5:httpclient5:5.3"
    jettyClient = "org.eclipse.jetty:jetty-client:9.4.54.v20240208"
    jnr-unixsocket = "com.github.jnr:jnr-unixsocket:0.38.22"
    jsoup = "org.jsoup:jsoup:1.17.2"
    junit = "junit:junit:4.13.2"
    junit-ktx = "androidx.test.ext:junit-ktx:1.1.5"
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_4x.md

        careful when deleting and renaming files.
    
     *  Fix: Don't crash on Java 8u252 which introduces an API previously found only on Java 9 and
        above. See [Jetty's overview][jetty_8_252] of the API change and its consequences.
    
     *  New: `MultipartReader` is a streaming decoder for [MIME multipart (RFC 2045)][rfc_2045]
        messages. It complements `MultipartBody` which is our streaming encoder.
    
    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)
  5. CHANGELOG.md

        prepared to build a TLS API for Kotlin/Native.
    
        We'd prefer a multiplatform HTTP client API that's backed by OkHttp on Android and JVM, and
        other engines on other platforms. [Ktor] does this pretty well today!
    
     *  Breaking: Use `kotlin.time.Duration` in APIs like `OkHttpClient.Builder.callTimeout()`. This
        update also drops support for the `DurationUnit` functions introduced in earlier alpha releases
        of OkHttp 5.
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/FastFallbackExchangeFinder.kt

        return result
      }
    
      private fun cancelInFlightConnects() {
        for (plan in tcpConnectsInFlight) {
          plan.cancel()
          val retry = plan.retry() ?: continue
          routePlanner.deferredPlans.addLast(retry)
        }
        tcpConnectsInFlight.clear()
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/FailedPlan.kt

      override fun connectTlsEtc() = result
    
      override fun handleSuccess() = error("unexpected call")
    
      override fun cancel() = error("unexpected cancel")
    
      override fun retry() = error("unexpected retry")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

     *    we must send a `CONNECT` request, and handle authorization challenges from the proxy.
     *  * Optional [TLS handshake][connectTls].
     *
     * Each step may fail. If a retry is possible, a new instance is created with the next plan, which
     * will be configured differently.
     */
    class ConnectPlan(
      private val taskRunner: TaskRunner,
      private val connectionPool: RealConnectionPool,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/CallTest.kt

                "Close",
                "Retry-After",
                "0",
              ),
            body = "You took too long!",
            socketPolicy = DisconnectAtEnd,
          ),
        )
        server.enqueue(
          MockResponse(
            code = 503,
            headers =
              headersOf(
                "Connection",
                "Close",
                "Retry-After",
                "0",
              ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Response.kt

      /**
       * Returns the response for the HTTP redirect or authorization challenge that triggered this
       * response, or null if this response wasn't triggered by an automatic retry. The body of the
       * returned response should not be read because it has already been consumed by the redirecting
       * client.
       */
      @get:JvmName("priorResponse") val priorResponse: Response?,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
Back to top