Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 84 for do (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/ExperimentalOkHttpApi.kt

     * of the experimental API.
     *
     * Do not use these APIs in modules that may be executed using a version of OkHttp different from
     * the version the module was compiled with.
     *
     * Do not use these APIs in published libraries.
     *
     * Do not use these APIs if you aren't willing to track changes to them.
     */
    @MustBeDocumented
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RetryTlsHandshake.kt

        // For the socket connect timeout case we do not try the same host with a different
        // ConnectionSpec: we assume it is unreachable.
        e is InterruptedIOException -> false
    
        // If the problem was a CertificateException from the X509TrustManager, do not retry.
        e is SSLHandshakeException && e.cause is CertificateException -> false
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 07 16:05:34 GMT 2024
    - 1.7K bytes
    - Viewed (0)
  3. samples/slack/src/main/java/okhttp3/slack/RtmSession.java

        RtmStartResponse rtmStartResponse = slackApi.rtmStart(accessToken);
        webSocket = slackApi.rtm(rtmStartResponse.url, this);
      }
    
      // TODO(jwilson): can I read the response body? Do I have to?
      //                the body from slack is a 0-byte-buffer
      @Override public synchronized void onOpen(WebSocket webSocket, Response response) {
        System.out.println("onOpen: " + response);
      }
    
    Java
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Nov 19 20:16:58 GMT 2016
    - 2.4K bytes
    - Viewed (0)
  4. .github/ISSUE_TEMPLATE/question.md

    ---
    name: Question
    about: Use Stack Overflow instead
    title: "\U0001F649"
    labels: ''
    assignees: ''
    
    ---
    
    🛑 𝙎𝙏𝙊𝙋
    
    This issue tracker is not the place for questions!
    
    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/SessionReuseTest.kt

        // javax.net.ssl.SSLHandshakeException: No new session is allowed and no existing
        // session can be resumed
        //
        // Report https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8264944
        // Sessions improvement https://bugs.java.com/bugdatabase/view_bug.do?bug_id=JDK-8245576
        if (!platform.isJdk9() && !platform.isOpenJsse() && !platform.isJdk8Alpn()) {
          reuseSession = true
        }
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 6K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

            condition.signalAll()
          }
        }
      }
    
      /**
       * Returns true if read timeouts should be enforced while reading response headers or body bytes.
       * We always do timeouts in the HTTP server role. For clients, we only do timeouts after the
       * request is transmitted. This is only interesting for duplex calls where the request and
       * response may be interleaved.
       *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  7. docs/features/https.md

            error:14077410:SSL routines:SSL23_GET_SERVER_HELLO:sslv3 alert handshake
            failure (external/openssl/ssl/s23_clnt.c:770 0x7f2728a53ea0:0x00000000)
        at com.android.org.conscrypt.NativeCrypto.SSL_do_handshake(Native Method)
    ```
    
    You can check a web server's configuration using [Qualys SSL Labs][qualys]. OkHttp's TLS
    configuration history is [tracked here](../security/tls_configuration_history.md).
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 24 00:16:30 GMT 2022
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

        }
    
        if (mostRecentTrimFailed || mostRecentRebuildFailed) {
          // The OS has become our enemy! If the trim job failed, it means we are storing more data than
          // requested by the user. Do not allow edits so we do not go over that limit any further. If
          // the journal rebuild failed, the journal writer will not be active, meaning we will not be
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  9. okhttp-sse/src/main/kotlin/okhttp3/sse/internal/RealEventSource.kt

      override fun onEvent(
        id: String?,
        type: String?,
        data: String,
      ) {
        listener.onEvent(this, id, type, data)
      }
    
      override fun onRetryChange(timeMs: Long) {
        // Ignored. We do not auto-retry.
      }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.2K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/ThreadInterruptTest.kt

      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
    
      @BeforeEach
      fun setUp() {
        // Sockets on some platforms can have large buffers that mean writes do not block when
        // required. These socket factories explicitly set the buffer sizes on sockets created.
        server = MockWebServer()
        server.serverSocketFactory =
          object : DelegatingServerSocketFactory(getDefault()) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
Back to top