Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for isCancelled (0.14 sec)

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

                  }
                },
            ),
          )
        callReference.set(call)
        assertFailsWith<IOException> {
          call.execute()
        }.also { expected ->
          assertThat(call.isCanceled()).isTrue()
        }
        val recordedRequest = server.takeRequest()
        assertThat(recordedRequest.failure!!).hasMessage("stream was reset: CANCEL")
      }
    
      @ParameterizedTest
    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/api/okhttp.api

    	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;
    	public abstract fun timeout ()Lokio/Timeout;
    }
    
    public abstract interface class okhttp3/Call$Factory {
    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