Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for reviews (0.22 sec)

  1. docs/changelogs/changelog_4x.md

     *  Fix: Change the return type of `MockWebServer.takeRequest()` to be nullable.
     *  Fix: Make `Call.clone()` public to Kotlin callers.
    
    
    ## Version 4.0.0-RC1
    
    _2019-06-03_
    
     *  First stable preview of OkHttp 4.
    
    
    ## Version 3.x
    
    [Change log](https://square.github.io/okhttp/changelog_3x/)
    
    
     [bom]: https://docs.gradle.org/6.2/userguide/platforms.html#sub:bom_import
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

        assertThat(response.code).isEqualTo(200)
        assertContent("Body", response)
        response.close()
        assertThat(server.requestCount).isEqualTo(2)
      }
    
      @Test
      fun readTimeouts() {
        // This relies on the fact that MockWebServer doesn't close the
        // connection after a response has been sent. This causes the client to
        // try to read more bytes than are sent, which results in a timeout.
        server.enqueue(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       * Prunes any leaked calls and then returns the number of remaining live calls on [connection].
       * Calls are leaked if the connection is tracking them but the application code has abandoned
       * them. Leak detection is imprecise and relies on garbage collection.
       */
      private fun pruneAndGetAllocationCount(
        connection: RealConnection,
        now: Long,
      ): Int {
        connection.lock.assertHeld()
    
        val references = connection.calls
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  4. okhttp/src/main/resources/okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz

    res.aero res.in research.aero research.museum reservd.com reservd.dev.thingdust.io reservd.disrec.thingdust.io reservd.testing.thingdust.io reserve-online.com reserve-online.net resindevice.io resistance.museum rest restaurant restaurant.bj resto.bj review reviews revista.bo rexroth rg.it rhcloud.com ri.it ri.us ribeirao.br ric.jelastic.vps-host.net rich richardli ricoh rieti.it rifu.miyagi.jp riik.ee rikubetsu.hokkaido.jp rikuzentakata.iwate.jp ril rimini.it rindal.no ringebu.no ringerike.no ringsaker.no...
    Others
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 40.4K bytes
    - Viewed (0)
  5. okhttp/src/test/resources/okhttp3/internal/publicsuffix/public_suffix_list.dat

    // rest : 2013-12-19 Punto 2012 Sociedad Anonima Promotora de Inversion de Capital Variable
    rest
    
    // restaurant : 2014-07-03 Binky Moon, LLC
    restaurant
    
    // review : 2014-11-20 dot Review Limited
    review
    
    // reviews : 2013-09-13 Dog Beach, LLC
    reviews
    
    // rexroth : 2015-06-18 Robert Bosch GMBH
    rexroth
    
    // rich : 2013-11-21 iRegistry GmbH
    rich
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 240.3K bytes
    - Viewed (3)
  6. docs/recipes.md

        ```kotlin
        if (response.responseCount >= 3) {
          return null // If we've failed 3 times, give up.
        }
        ```
    
        This above code relies on this `responseCount` extension val:
    
        ```kotlin
        val Response.responseCount: Int
          get() = generateSequence(this) { it.priorResponse }.count()
        ```
    === ":material-language-java: Java"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Fri Feb 18 08:52:22 GMT 2022
    - 40.2K bytes
    - Viewed (1)
  7. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          }
        }
    
        // The following try/catch block is a pseudo hacky way to get around a crash on Android 7.0
        // More details:
        // https://github.com/square/okhttp/issues/3245
        // https://android-review.googlesource.com/#/c/271775/
        try {
          source = rawSocket.source().buffer()
          sink = rawSocket.sink().buffer()
        } catch (npe: NullPointerException) {
          if (npe.message == NPE_THROW_WITH_NULL) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CallTest.kt

      }
    
      /**
       * This test cancels the call just after the response body ends. In effect we end up with a
       * connection that returns to the connection pool with the underlying socket closed. This relies
       * on an implementation detail so it might not be a valid test case in the future.
       */
      @Test
      fun cancelAfterResponseBodyEnd() {
        enableTls()
        server.enqueue(MockResponse(body = "abc"))
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  9. docs/contribute/code_of_conduct.md

     * Any additional information that may be helpful.
    
    After filing a report, a representative from the Square Code of Conduct committee will contact you
    personally. The committee will then review the incident, follow up with any additional questions,
    and make a decision as to how to respond.
    
    Anyone asked to stop unacceptable behavior is expected to comply immediately. If an individual
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 5.1K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_3x.md

     *  New: `okhttp-dnsoverhttps` is an experimental API for doing DNS queries over HTTPS. Using HTTPS
        for DNS offers better security and potentially better performance. This feature is a preview:
        the API is subject to change.
     *  New: `okhttp-sse` is an early preview of Server-Sent Events (SSE). This feature is incomplete
        and is only suitable for experimental use.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
Back to top