Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 1,257 for Ball (0.18 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

    ) : EventSource, ServerSentEventReader.Callback, Callback {
      private var call: Call? = null
    
      @Volatile private var canceled = false
    
      fun connect(callFactory: Call.Factory) {
        call =
          callFactory.newCall(request).apply {
            enqueue(this@RealEventSource)
          }
      }
    
      override fun onResponse(
        call: Call,
        response: Response,
      ) {
        processResponse(response)
      }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  2. docs/en/docs/tutorial/security/oauth2-jwt.md

    Username: `johndoe`
    Password: `secret`
    
    !!! check
        Notice that nowhere in the code is the plaintext password "`secret`", we only have the hashed version.
    
    <img src="/img/tutorial/security/image08.png">
    
    Call the endpoint `/users/me/`, you will get the response as:
    
    ```JSON
    {
      "username": "johndoe",
      "email": "******@****.***",
      "full_name": "John Doe",
      "disabled": false
    }
    ```
    
    Plain Text
    - Registered: Sun Apr 28 07:19:10 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13K bytes
    - Viewed (0)
  3. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

          } else {
            null
          }
        }
    
        override fun secureConnectStart(call: Call) {
          // Register to capture "Produced ClientHello handshake message".
          currentThread = Thread.currentThread()
          logger.addHandler(loggerHandler)
        }
    
        override fun secureConnectEnd(
          call: Call,
          handshake: Handshake?,
        ) {
          logger.removeHandler(loggerHandler)
        }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  4. docs/features/https.md

    By default, OkHttp will attempt a `MODERN_TLS` connection.  However by configuring the client connectionSpecs you can allow a fall back to `COMPATIBLE_TLS` connection if the modern configuration fails.
    
    ```java
    OkHttpClient client = new OkHttpClient.Builder()
        .connectionSpecs(Arrays.asList(ConnectionSpec.MODERN_TLS, ConnectionSpec.COMPATIBLE_TLS))
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

            .throttleBody((64 * 1024).toLong(), 125, TimeUnit.MILLISECONDS),
        ) // 500 Kbps
        server.start()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .build(),
          )
        val response = call.execute()
        interruptLater(500)
        val responseBody = response.body.byteStream()
        val buffer = ByteArray(1024)
    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)
  6. doc/next/6-stdlib/1-time.md

    Second, the timer channel associated with a `Timer` or `Ticker` is
    now unbuffered, with capacity 0.
    The main effect of this change is that Go now guarantees
    that for any call to a `Reset` or `Stop` method, no stale values
    prepared before that call will be sent or received after the call.
    Earlier versions of Go used channels with a one-element buffer,
    making it difficult to use `Reset` and `Stop` correctly.
    Plain Text
    - Registered: Tue Apr 30 11:13:12 GMT 2024
    - Last Modified: Fri Apr 12 20:57:18 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/DerReader.kt

        get() = countingSource.bytesRead - source.buffer.size
    
      /** How many bytes to read before [peekHeader] should return false, or -1L for no limit. */
      private var limit = -1L
    
      /** Type hints scoped to the call stack, manipulated with [withTypeHint]. */
      private val typeHintStack = mutableListOf<Any?>()
    
      /**
       * The type hint for the current object. Used to pick adapters based on other fields, such as
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/api/okhttp.api

    	public fun cacheConditionalHit (Lokhttp3/Call;Lokhttp3/Response;)V
    	public fun cacheHit (Lokhttp3/Call;Lokhttp3/Response;)V
    	public fun cacheMiss (Lokhttp3/Call;)V
    	public fun callEnd (Lokhttp3/Call;)V
    	public fun callFailed (Lokhttp3/Call;Ljava/io/IOException;)V
    	public fun callStart (Lokhttp3/Call;)V
    	public fun canceled (Lokhttp3/Call;)V
    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)
  9. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            acceptConnections()
          } catch (e: Throwable) {
            logger.log(Level.WARNING, "$this failed unexpectedly", e)
          }
    
          // Release all sockets and all threads, even if any close fails.
          serverSocket?.closeQuietly()
    
          val openClientSocket = openClientSockets.iterator()
          while (openClientSocket.hasNext()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  10. maven-core/src/site/apt/configuration-management.apt

     utilizing the local installation, the group level allows configuration management for all the projects
     that belong to the same group, the project level allows configuration management at
     the project level, and the user level allows users to override settings on
     the site level, group level and project level.
    
    * Site configuration
    
    Plain Text
    - Registered: Sun Apr 28 03:35:10 GMT 2024
    - Last Modified: Mon Mar 18 00:24:53 GMT 2024
    - 5.8K bytes
    - Viewed (0)
Back to top