Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 44 for mano (0.17 sec)

  1. regression-test/src/androidTest/java/okhttp/regression/compare/ApacheHttpClientHttp2Test.kt

     * specific language governing permissions and limitations
     * under the License.
     * ====================================================================
     *
     * This software consists of voluntary contributions made by many
     * individuals on behalf of the Apache Software Foundation.  For more
     * information on the Apache Software Foundation, please see
     * <http://www.apache.org/>.
     *
     */
    package okhttp.regression.compare
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-HostnamesCommon.kt

      limit: Int,
    ): ByteArray? {
      val address = ByteArray(16)
      var b = 0
      var compress = -1
      var groupOffset = -1
    
      var i = pos
      while (i < limit) {
        if (b == address.size) return null // Too many groups.
    
        // Read a delimiter.
        if (i + 2 <= limit && input.startsWith("::", startIndex = i)) {
          // Compression "::" delimiter, which is anywhere in the input, including its prefix.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.2K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/ConnectionPool.kt

        policy: AddressPolicy,
      ) {
        delegate.setPolicy(address, policy)
      }
    
      /**
       * A policy for how the pool should treat a specific address.
       */
      class AddressPolicy(
        /**
         * How many concurrent calls should be possible to make at any time.
         * The pool will routinely try to pre-emptively open connections to satisfy this minimum.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 03 20:39:41 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  4. samples/slack/src/main/java/okhttp3/slack/SlackApi.java

    import okhttp3.WebSocketListener;
    import okio.ByteString;
    
    /**
     * API access to the <a href="https://api.slack.com/apps">Slack API</a> as an application. One
     * instance of this class may operate without a user, or on behalf of many users. Use the Slack API
     * dashboard to create a client ID and secret for this application.
     *
     * <p>You must configure your Slack API OAuth and Permissions page with a localhost URL like {@code
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Jul 06 19:30:55 GMT 2018
    - 4.4K bytes
    - Viewed (1)
  5. docs/features/events.md

    Events
    ======
    
    Events allow you to capture metrics on your application’s HTTP calls. Use events to monitor:
    
     * 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 May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  6. 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 May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/URLConnectionTest.kt

            ),
          )
        }
        assertFailsWith<ProtocolException> {
          getResponse(newRequest("/0"))
        }.also { expected ->
          assertThat(expected.message).isEqualTo(
            "Too many follow-up requests: 21",
          )
        }
      }
    
      @Test
      fun httpsWithCustomTrustManager() {
        val hostnameVerifier = RecordingHostnameVerifier()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 131.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

            // that it will almost certainly fail because the proxy has sent unexpected data.
            if (source?.buffer?.exhausted() == false || sink?.buffer?.exhausted() == false) {
              throw IOException("TLS tunnel buffered too many bytes!")
            }
    
            user.secureConnectStart()
    
            // Create the wrapper over the connected socket.
            val sslSocket =
              route.address.sslSocketFactory.createSocket(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  9. docs/contribute/concurrency.md

     * **RealConnection** is the socket and streams of an HTTP/1 or HTTP/2 connection. These are created on demand to fulfill HTTP requests. They may be reused for many HTTP request/response exchanges. Their lifetime is typically shorter than a connection pool.
    
     * **Exchange** carries a single HTTP request/response pair.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CallTest.kt

            .build()
        assertFailsWith<IOException> {
          client.newCall(Request.Builder().url(server.url("/0")).build()).execute()
        }.also { expected ->
          assertThat(expected.message).isEqualTo("Too many follow-up requests: 21")
        }
      }
    
      /**
       * We had a bug where we were passing a null route to the authenticator.
       * https://github.com/square/okhttp/issues/3809
       */
      @Test
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
Back to top