Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for completeExceptionally (0.32 sec)

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

              ) {
                println("onSucceeded ${info?.headers?.asMap}")
                completableFuture.completeExceptionally(error)
              }
    
              override fun onCanceled(
                request: UrlRequest,
                info: UrlResponseInfo?,
              ) {
                completableFuture.completeExceptionally(CancellationException())
              }
            },
          )
            .setPriority(REQUEST_PRIORITY_MEDIUM)
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 24 13:19:43 GMT 2024
    - 6.2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/SocketChannelTest.kt

        val call = client.newCall(request)
        call.enqueue(
          object : Callback {
            override fun onFailure(
              call: Call,
              e: IOException,
            ) {
              promise.completeExceptionally(e)
            }
    
            override fun onResponse(
              call: Call,
              response: Response,
            ) {
              promise.complete(response)
            }
          },
        )
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8K bytes
    - Viewed (0)
  3. okhttp-android/src/main/baseline-prof.txt

    HSPLkotlinx/coroutines/CompletedContinuation;-><init>(Ljava/lang/Object;Lkotlinx/coroutines/CancelHandler;Lkotlin/jvm/functions/Function1;Ljava/lang/Object;Ljava/lang/Throwable;I)V
    HSPLkotlinx/coroutines/CompletedExceptionally;-><clinit>()V
    HSPLkotlinx/coroutines/CompletedExceptionally;-><init>(Ljava/lang/Throwable;ZI)V
    HSPLkotlinx/coroutines/CompletionHandlerBase;-><init>()V
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
Back to top