Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for Due (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/Callback.kt

     * limitations under the License.
     */
    package okhttp3
    
    import okio.IOException
    
    interface Callback {
      /**
       * Called when the request could not be executed due to cancellation, a connectivity problem or
       * timeout. Because networks can fail during an exchange, it is possible that the remote server
       * accepted the request before the failure.
       */
      fun onFailure(
        call: Call,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      }
    
      /**
       * Releases resources held with the request or response of [exchange]. This should be called when
       * the request completes normally or when it fails due to an exception, in which case [e] should
       * be non-null.
       *
       * If the exchange was canceled or timed out, this will wrap [e] in an exception that provides
       * that additional context. Otherwise [e] is returned as-is.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  3. okhttp/src/main/kotlin/okhttp3/OkHttp.kt

       * The version string is configured in the root project's `build.gradle`.
       *
       * Note that OkHttp's runtime version may be different from the version specified in your
       * project's build file due to the dependency resolution features of your build tool.
       *
       * [semver]: https://semver.org
       */
      @Suppress("MayBeConstant") // Non-const so external callers get the runtime version.
      @JvmField
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.6K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/platform/Platform.kt

     * ### Trust Manager Extraction
     *
     * Supported on Android 2.3+ and OpenJDK 7+. There are no public APIs to recover the trust
     * manager that was used to create an [SSLSocketFactory].
     *
     * Not supported by choice on JDK9+ due to access checks.
     *
     * ### Android Cleartext Permit Detection
     *
     * Supported on Android 6.0+ via `NetworkSecurityPolicy`.
     */
    open class Platform {
      /** Prefix used on custom headers. */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (1)
  5. android-test/build.gradle.kts

        sourceCompatibility(JavaVersion.VERSION_11)
      }
    
      testOptions {
        targetSdk = 34
      }
    
      kotlinOptions {
        jvmTarget = JavaVersion.VERSION_11.toString()
      }
    
      // issue merging due to conflict with httpclient and something else
      packagingOptions.resources.excludes += setOf(
        "META-INF/DEPENDENCIES",
        "META-INF/LICENSE.md",
        "META-INF/LICENSE-notice.md",
        "README.txt",
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 3K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       * share the same connection without sharing the same hostname.
       */
      private var noCoalescedConnections = false
    
      /**
       * The number of times there was a problem establishing a stream that could be due to route
       * chosen. Guarded by this.
       */
      internal var routeFailureCount = 0
    
      private var successCount = 0
      private var refusedStreamCount = 0
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/platform/Jdk9Platform.kt

          null
        }
      }
    
      override fun trustManager(sslSocketFactory: SSLSocketFactory): X509TrustManager? {
        // Not supported due to access checks on JDK 9+:
        // java.lang.reflect.InaccessibleObjectException: Unable to make member of class
        // sun.security.ssl.SSLSocketFactoryImpl accessible:  module java.base does not export
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/platform/AndroidPlatform.kt

        connectTimeout: Int,
      ) {
        try {
          socket.connect(address, connectTimeout)
        } catch (e: ClassCastException) {
          // On android 8.0, socket.connect throws a ClassCastException due to a bug
          // see https://issuetracker.google.com/issues/63649622
          if (Build.VERSION.SDK_INT == 26) {
            throw IOException("Exception in connect", e)
          } else {
            throw e
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Connection.kt

     * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing
     * connection is typically faster than establishing a new one.
     *
     * When a single logical call requires multiple streams due to redirects or authorization
     * challenges, we prefer to use the same physical connection for all streams in the sequence. There
     * are potential performance and behavior consequences to this preference. To support this feature,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.3K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

     *    ones.
     *
     *  * **Closed:** the web socket has transmitted all of its messages and has received all messages
     *    from the peer.
     *
     * Web sockets may fail due to HTTP upgrade problems, connectivity problems, or if either peer
     * chooses to short-circuit the graceful shutdown process:
     *
     *  * **Canceled:** the web socket connection failed. Messages that were successfully enqueued by
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top