Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for declaring (0.15 sec)

  1. docs/changelogs/changelog_4x.md

        keep all of your OkHttp artifacts on the same version, even if they're declared via transitive
        dependencies. You can even omit versions when declaring other OkHttp dependencies.
    
        ```kotlin
        dependencies {
           api(platform("com.squareup.okhttp3:okhttp-bom:4.4.0"))
           api("com.squareup.okhttp3:okhttp")              // No version!
    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. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

      @JvmField val unknownValues: Boolean = false,
    ) {
      fun noContextTakeover(clientOriginated: Boolean): Boolean {
        return if (clientOriginated) {
          clientNoContextTakeover // Client is deflating.
        } else {
          serverNoContextTakeover // Server is deflating.
        }
      }
    
      companion object {
        private const val HEADER_WEB_SOCKET_EXTENSION = "Sec-WebSocket-Extensions"
    
        @Throws(IOException::class)
    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)
  3. okhttp-testing-support/src/main/kotlin/okhttp3/OkHttpClientTestRule.kt

            // Minimise test flakiness due to possible race conditions with connections closing.
            // Some number of tests will report here, but not fail due to this delay.
            println("Delaying to avoid flakes")
            Thread.sleep(500L)
            println("After delay: " + connectionPool.connectionCount())
          }
    
          connectionPool.evictAll()
          assertEquals(0, connectionPool.connectionCount()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
Back to top