Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for Prestes (0.14 sec)

  1. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSource.kt

       * the event source has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new event source and immediately returns it. Creating an event source initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.4K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Authenticator.kt

     *
     * To make HTTPS calls using an HTTP proxy server OkHttp must first negotiate a connection with
     * the proxy. This proxy connection is called a "TLS Tunnel" and is specified by
     * [RFC 2817][1]. The HTTP CONNECT request that creates this tunnel connection is special: it
     * does not participate in any [interceptors][Interceptor] or [event listeners][EventListener]. It
     * doesn't include the motivating request's HTTP headers or even its full URL; only the target
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.5K bytes
    - Viewed (0)
  3. docs/features/events.md

    This [sample factory](https://github.com/square/okhttp/blob/master/samples/guide/src/main/java/okhttp3/recipes/PrintEvents.java) creates a unique ID for each call and uses that ID to differentiate calls in log messages.
    
    ```java
    class PrintingEventListener extends EventListener {
      public static final Factory FACTORY = new Factory() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 7.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/cache2/FileOperatorTest.kt

        operator.write(80, buffer, buffer.size)
        assertThat(snapshot()).isEqualTo(
          (
            "" +
              "god creates dinosaurs. " +
              "god destroys dinosaurs. " +
              "god creates man. " +
              "man destroys god. " +
              "man creates dinosaurs. "
          ).encodeUtf8(),
        )
      }
    
      @Test
      fun multipleOperatorsShareOneFile() {
        val operatorA =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.8K bytes
    - Viewed (0)
  5. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/TlsUtil.kt

      }
    
      private fun newEmptyKeyStore(keyStoreType: String?): KeyStore {
        return KeyStore.getInstance(keyStoreType ?: KeyStore.getDefaultType()).apply {
          val inputStream: InputStream? = null // By convention, 'null' creates an empty key store.
          load(inputStream, password)
        }
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

       * messages. This does nothing if the web socket has already been closed or canceled.
       */
      fun cancel()
    
      fun interface Factory {
        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
Back to top