Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 4 of 4 for enqueue (0.14 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

      ) {
        setUp(protocol, mockWebServer)
        server.enqueue(
          MockResponse.Builder()
            .body(Buffer().write(ByteArray(Http2Connection.OKHTTP_CLIENT_WINDOW_SIZE + 1)))
            .build(),
        )
        server.enqueue(
          MockResponse(body = "abc"),
        )
        // Enqueue an additional response that show if we burnt a good prior response.
        server.enqueue(
          MockResponse(body = "XXX"),
        )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 75.3K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        enableTlsWithTunnel()
        server.enqueue(
          MockResponse.Builder()
            .inTunnel()
            .code(407)
            .addHeader("Proxy-Authenticate: Basic realm=\"localhost\"")
            .addHeader("Connection: close")
            .build(),
        )
        server.enqueue(
          MockResponse.Builder()
            .inTunnel()
            .build(),
        )
        server.enqueue(MockResponse())
        client =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        a stream timeout to determine whether the connection should remain eligible for pooling.
    
    
    ## Version 3.14.4
    
    _2019-09-29_
    
     *  Fix: Cancel calls that fail due to unexpected exceptions. We had a bug where an enqueued call
        would never call back if it crashed with an unchecked throwable, such as a
        `NullPointerException` or `OutOfMemoryError`. We now call `Callback.onFailure()` with an
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    }
    
    public abstract interface class okhttp3/Call : java/lang/Cloneable {
    	public abstract fun cancel ()V
    	public abstract fun clone ()Lokhttp3/Call;
    	public abstract fun enqueue (Lokhttp3/Callback;)V
    	public abstract fun execute ()Lokhttp3/Response;
    	public abstract fun isCanceled ()Z
    	public abstract fun isExecuted ()Z
    	public abstract fun request ()Lokhttp3/Request;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
Back to top