Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 257 for it (0.14 sec)

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

        connection: Connection,
        call: Call,
      ) {
        if (eventSequence.find { it is ConnectionEvent.ConnectStart && it.connection == connection } != null && connection is RealConnection) {
          if (connection.noNewExchanges) {
            assertThat(eventSequence).matchesPredicate { deque ->
              deque.any { it is NoNewExchanges && it.connection == connection }
            }
          }
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_4x.md

     *  Fix: Immediately update the connection's flow control window instead of waiting for the
        receiving stream to process it.
    
        This change may increase OkHttp's memory use for applications that make many concurrent HTTP
        calls and that can receive data faster than they can process it. Previously, OkHttp limited
        HTTP/2 to 16 MiB of unacknowledged data per connection. With this fix there is a limit of 16 MiB
    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)
  3. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     * does not participate in any [interceptors][Interceptor] or [event listeners][EventListener]. It
     * doesn't include the motivating request's HTTP headers or even its full URL; only the target
     * server's hostname is sent to the proxy.
     *
     * Prior to sending any CONNECT request OkHttp always calls the proxy authenticator so that it may
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  4. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerAdapter.kt

      /**
       * Returns a value from this adapter.
       *
       * This must always return a value, though it doesn't necessarily need to consume data from
       * [reader]. For example, if the reader's peeked tag isn't readable by this adapter, it may return
       * a default value.
       *
       * If this does read a value, it starts with the tag and length, and reads an entire value,
       * including any potential composed values.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

      /** True if there are more exchanges expected for this call. */
      private var expectMoreExchanges = true
    
      // These properties are accessed by canceling threads. Any thread can cancel a call, and once it's
      // canceled it's canceled forever.
    
      @Volatile private var canceled = false
    
      @Volatile private var exchange: Exchange? = null
      internal val plansToCancel = CopyOnWriteArrayList<RoutePlanner.Plan>()
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 17.9K bytes
    - Viewed (2)
  6. docs/features/events.md

     * The size and frequency of the HTTP calls your application makes. If you’re making too many calls, or your calls are too large, you should know about it!
     * The performance of these calls on the underlying network. If the network’s performance isn’t sufficient, you need to either improve the network or use less of it.
    
    ### EventListener
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  7. mockwebserver/README.md

    MockWebServer
    =============
    
    A scriptable web server for testing HTTP clients
    
    
    ### Motivation
    
    This library makes it easy to test that your app Does The Right Thing when it
    makes HTTP and HTTPS calls. It lets you specify which responses to return and
    then verify that requests were made as expected.
    
    Because it exercises your full HTTP stack, you can be confident that you're
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 5K bytes
    - Viewed (1)
  8. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Certificate.kt

    ) {
      val commonName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.COMMON_NAME }
            ?.value
        }
    
      val organizationalUnitName: Any?
        get() {
          return tbsCertificate.subject
            .flatten()
            .firstOrNull { it.type == ObjectIdentifiers.ORGANIZATIONAL_UNIT_NAME }
            ?.value
        }
    
      val subjectAlternativeNames: Extension?
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.4K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/idn/Punycode.kt

        if (b > 0) result.writeByte('-'.code)
    
        var n = INITIAL_N
        var delta = 0
        var bias = INITIAL_BIAS
        var h = b
        while (h < input.size) {
          val m = input.minBy { if (it >= n) it else Int.MAX_VALUE }
    
          val increment = (m - n) * (h + 1)
          if (delta > Int.MAX_VALUE - increment) return false // Prevent overflow.
          delta += increment
    
          n = m
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Apr 03 03:04:50 GMT 2024
    - 8.5K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

      // These properties are guarded by [lock].
    
      /**
       * If true, no new exchanges can be created on this connection. It is necessary to set this to
       * true when removing a connection from the pool; otherwise a racing caller might get it from the
       * pool when it shouldn't. Symmetrically, this must always be checked before returning a
       * connection from the pool.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
Back to top