Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 80 for berate (0.14 sec)

  1. docs/changelogs/changelog_3x.md

        before the response starts. With duplex, request and response bodies are transmitted
        simultaneously. This can be used to implement interactive conversations within a single HTTP
        call.
    
        Create duplex calls by overriding the new `RequestBody.isDuplex()` method to return true.
        This simple option dramatically changes the behavior of the request body and of the entire
        call.
    
    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)
  2. okhttp/src/main/kotlin/okhttp3/Call.kt

       * retries all must complete within one timeout period.
       *
       * Configure the client's default timeout with [OkHttpClient.Builder.callTimeout].
       */
      fun timeout(): Timeout
    
      /**
       * Create a new, identical call to this one which can be enqueued or executed even if this call
       * has already been.
       */
      public override fun clone(): Call
    
      fun interface Factory {
        fun newCall(request: Request): Call
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidSocketAdapter.kt

          return object : DeferredSocketAdapter.Factory {
            override fun matchesSocket(sslSocket: SSLSocket): Boolean = sslSocket.javaClass.name.startsWith("$packageName.")
    
            override fun create(sslSocket: SSLSocket): SocketAdapter {
              return build(sslSocket.javaClass)
            }
          }
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  4. samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java

      private static final class PrintingEventListener extends EventListener {
        private static final Factory FACTORY = new Factory() {
          final AtomicLong nextCallId = new AtomicLong(1L);
    
          @Override public EventListener create(Call call) {
            long callId = nextCallId.getAndIncrement();
            System.out.printf("%04d %s%n", callId, call.request().url());
            return new PrintingEventListener(callId, System.nanoTime());
          }
        };
    
    Java
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 16 23:20:49 GMT 2020
    - 6.1K bytes
    - Viewed (0)
  5. docs/features/connections.md

    ### [Connections](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-connection/)
    
    When you request a URL with OkHttp, here's what it does:
    
     1. It uses the URL and configured OkHttpClient to create an **address**. This address specifies how we'll connect to the webserver.
     2. It attempts to retrieve a connection with that address from the **connection pool**.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Reader.kt

        )
    
        /**
         * Create or update incoming headers, creating the corresponding streams if necessary. Frames
         * that trigger this are HEADERS and PUSH_PROMISE.
         *
         * @param inFinished true if the sender will not send further frames.
         * @param streamId the stream owning these headers.
         * @param associatedStreamId the stream that triggered the sender to create this stream.
         */
        fun headers(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 19.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

       * expect a newly-started thread to call [Runnable.run]. We shouldn't request new threads until
       * the already-requested ones are in service, otherwise we might create more threads than we need.
       *
       * We use [executeCallCount] and [runCallCount] to defend against starting more threads than we
       * need. Both fields are guarded by [lock].
       */
      private var executeCallCount = 0
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 29 00:33:04 GMT 2024
    - 10.6K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * providing a query and fragment.
     *
     * Instances of [HttpUrl] are well-formed and always have a scheme, host, and path. With
     * `java.net.URL` it's possible to create an awkward URL like `http:/` with scheme and path but no
     * hostname. Building APIs that consume such malformed values is difficult!
     *
     * This class has a modern API. It avoids punitive checked exceptions: [toHttpUrl] throws
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  9. okhttp-android/src/main/baseline-prof.txt

    HSPLandroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;-><init>(Landroidx/lifecycle/LifecycleCoroutineScope;Lkotlin/jvm/functions/Function2;Lkotlin/coroutines/Continuation;)V
    HSPLandroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->create(Ljava/lang/Object;Lkotlin/coroutines/Continuation;)Lkotlin/coroutines/Continuation;
    HSPLandroidx/lifecycle/LifecycleCoroutineScope$launchWhenResumed$1;->invokeSuspend(Ljava/lang/Object;)Ljava/lang/Object;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Mar 21 11:22:00 GMT 2022
    - 127.9K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

         */
        @JvmStatic
        @JvmName("create")
        fun String.toRequestBody(contentType: MediaType? = null): RequestBody {
          val (charset, finalContentType) = contentType.chooseCharset()
          val bytes = toByteArray(charset)
          return bytes.toRequestBody(finalContentType, 0, bytes.size)
        }
    
        @JvmStatic
        @JvmName("create")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top