Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 54 for Sall (0.19 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      // the call, but they may be accessed by other threads for duplex requests.
    
      /** True if this call still has a request body open. */
      private var requestBodyOpen = false
    
      /** True if this call still has a response body open. */
      private var responseBodyOpen = false
    
      /** True if there are more exchanges expected for this call. */
      private var expectMoreExchanges = true
    
    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)
  2. docs/changelogs/changelog_4x.md

    ## Version 4.0.1
    
    _2019-07-10_
    
     *  Fix: Tolerate null-hostile lists in public API. Lists created with `List.of(...)` don't like it
        when you call `contains(null)` on them!
     *  Fix: Retain binary-compatibility in `okhttp3.internal.HttpHeaders.hasBody()`. Some unscrupulous
        coders call this and we don't want their users to suffer.
    
    
    ## Version 4.0.0
    
    _2019-06-26_
    
    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)
  3. okhttp-coroutines/src/main/kotlin/okhttp3/JvmCallExtensions.kt

    import okio.IOException
    
    @ExperimentalCoroutinesApi // resume with a resource cleanup.
    suspend fun Call.executeAsync(): Response =
      suspendCancellableCoroutine { continuation ->
        continuation.invokeOnCancellation {
          this.cancel()
        }
        this.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              continuation.resumeWithException(e)
            }
    Plain Text
    - Registered: Fri Apr 12 11:42:09 GMT 2024
    - Last Modified: Fri Apr 05 11:25:23 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  4. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSources.kt

     */
    package okhttp3.sse
    
    import okhttp3.Call
    import okhttp3.OkHttpClient
    import okhttp3.Response
    import okhttp3.sse.internal.RealEventSource
    
    object EventSources {
      @Deprecated(
        message = "required for binary-compatibility!",
        level = DeprecationLevel.HIDDEN,
      )
      @JvmStatic
      fun createFactory(client: OkHttpClient) = createFactory(client as Call.Factory)
    
      @JvmStatic
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:18:15 GMT 2024
    - 1.6K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

            noNewExchangesEvent = !noNewExchanges
            noNewExchanges = true
    
            // If this route hasn't completed a call, avoid it for new connections.
            if (successCount == 0) {
              if (e != null) {
                connectFailed(call.client, route, e)
              }
              routeFailureCount++
            }
          }
    
          Unit
        }
    
        if (noNewExchangesEvent) {
    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)
  6. okhttp-java-net-cookiejar/src/main/kotlin/okhttp3/java/net/cookiejar/JavaNetCookieJar.kt

          Platform.get().log("Saving cookies failed for " + url.resolve("/...")!!, WARN, e)
        }
      }
    
      override fun loadForRequest(url: HttpUrl): List<Cookie> {
        val cookieHeaders =
          try {
            // The RI passes all headers. We don't have 'em, so we don't pass 'em!
            cookieHandler.get(url.toUri(), emptyMap<String, List<String>>())
          } catch (e: IOException) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:10:43 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

        require(length < bytesOut.size - lastFrame.start)
    
        // Move everything from bytesOut into a new buffer.
        val fullBuffer = Buffer()
        bytesOut.read(fullBuffer, bytesOut.size)
    
        // Copy back all but what we're truncating.
        fullBuffer.read(bytesOut, lastFrame.start + length)
        outFrames.add(OutFrame(lastFrame.sequence, lastFrame.start, true))
        return writer
      }
    
      fun takeFrame(): InFrame = inFrames.take()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  8. gradle/libs.versions.toml

    openjsse = "org.openjsse:openjsse:1.1.14"
    playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.0.1"
    robolectric-android = "org.robolectric:android-all:14-robolectric-10818077"
    robolectric = "org.robolectric:robolectric:4.12.1"
    signature-android-apilevel21 = "net.sf.androidscents.signature:android-api-level-21:5.0.1_r2"
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnectionPool.kt

       *
       * Returns the duration in nanoseconds to sleep until the next scheduled call to this method.
       * Returns -1 if no further cleanups are required.
       */
      fun closeConnections(now: Long): Long {
        // Compute the concurrent call capacity for each address. We won't close a connection if doing
        // so would violate a policy, unless it's OLD.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            return headersQueue.removeFirst()
          }
          throw errorException ?: StreamResetException(errorCode!!)
        }
      }
    
      /**
       * Returns the trailers. It is only safe to call this once the source stream has been completely
       * exhausted.
       */
      @Throws(IOException::class)
      fun trailers(): Headers {
        this.withLock {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
Back to top