Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 116 for chan (0.12 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/tls/CertificateChainCleaner.kt

    import okhttp3.internal.platform.Platform
    
    /**
     * Computes the effective certificate chain from the raw array returned by Java's built in TLS APIs.
     * Cleaning a chain returns a list of certificates where the first element is `chain[0]`, each
     * certificate is signed by the certificate that follows, and the last certificate is a trusted CA
     * certificate.
     *
     * Use of the chain cleaner is necessary to omit unexpected certificates that aren't relevant to
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

      return endIndex
    }
    
    /**
     * Returns the index of the first character in this string that is [delimiter]. Returns [endIndex]
     * if there is no such character.
     */
    fun String.delimiterOffset(
      delimiter: Char,
      startIndex: Int = 0,
      endIndex: Int = length,
    ): Int {
      for (i in startIndex until endIndex) {
        if (this[i] == delimiter) return i
      }
      return endIndex
    }
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  3. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    server's hostname. The server must also have is a (possibly-empty) chain of intermediate
     *    certificates to establish trust from a root certificate to the server's certificate. The root
     *    certificate is not included in this chain.
     *  * The client's handshake certificates must include a set of trusted root certificates. They will
     *    be used to authenticate the server's certificate chain. Typically this is a set of well-known
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/CertificateChainCleanerTest.kt

        val cleaner = get(root)
        assertFailsWith<SSLPeerUnverifiedException> {
          cleaner.clean(certificates, "hostname")
        }
      }
    
      /** Returns a chain starting at the leaf certificate and progressing to the root.  */
      private fun chainOfLength(length: Int): List<HeldCertificate> {
        val result = mutableListOf<HeldCertificate>()
        for (i in 1..length) {
          result.add(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CallKotlinTest.kt

        // Capture the connection so that we can later make it stale.
        var connection: RealConnection? = null
        client =
          client.newBuilder()
            .addNetworkInterceptor(
              Interceptor { chain ->
                connection = chain.connection() as RealConnection
                chain.proceed(chain.request())
              },
            )
            .build()
    
        server.enqueue(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 8.4K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/EventListenerTest.kt

        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain? ->
                chain!!.proceed(chain.request())
                  .use { a -> assertThat(a.body.string()).isEqualTo("a") }
                chain.proceed(chain.request())
              },
            )
            .build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 56.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

     */
    class RetryAndFollowUpInterceptor(private val client: OkHttpClient) : Interceptor {
      @Throws(IOException::class)
      override fun intercept(chain: Interceptor.Chain): Response {
        val realChain = chain as RealInterceptorChain
        var request = chain.request
        val call = realChain.call
        var followUpCount = 0
        var priorResponse: Response? = null
        var newRoutePlanner = true
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  8. docs/en/docs/help-fastapi.md

    even before asking. And in GitHub I can make sure I always answer everything, even if it takes some time. I can't personally do that with the chat systems. ๐Ÿ˜…
    
    Conversations in the chat systems are also not as easily searchable as in GitHub, so questions and answers might get lost in the conversation. And only the ones in GitHub count to become a [FastAPI Expert](fastapi-people.md#fastapi-experts){.internal-link target=_blank}, so you will most probably receive more attention in GitHub....
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Thu Apr 18 19:53:19 GMT 2024
    - 13.7K bytes
    - Viewed (0)
  9. docs/em/docs/advanced/websockets.md

    ```
    
    ๐Ÿ”„ โšซ๏ธ ๐Ÿ‘…:
    
    * ๐Ÿ“‚ ๐Ÿ“ฑ โฎ๏ธ ๐Ÿ“š ๐Ÿ–ฅ ๐Ÿ“‘.
    * โœ ๐Ÿ“ง โšช๏ธโžก๏ธ ๐Ÿ‘ซ.
    * โคด๏ธ ๐Ÿ” 1๏ธโƒฃ ๐Ÿ“‘.
    
    ๐Ÿ‘ˆ ๐Ÿ”œ ๐Ÿคš `WebSocketDisconnect` โš , &amp; ๐ŸŒ ๐ŸŽ ๐Ÿ‘ฉโ€๐Ÿ’ป ๐Ÿ”œ ๐Ÿ“จ ๐Ÿ“ง ๐Ÿ’–:
    
    ```
    Client #1596980209979 left the chat
    ```
    
    !!! tip
        ๐Ÿ“ฑ ๐Ÿ”› โญ &amp; ๐Ÿ™… ๐Ÿ–ผ ๐ŸŽฆ โ” ๐Ÿต &amp; ๐Ÿ“ป ๐Ÿ“ง ๐Ÿ“š *๏ธโƒฃ ๐Ÿ”—.
    
        โœ‹๏ธ โœ”๏ธ ๐Ÿคฏ ๐Ÿ‘ˆ, ๐ŸŒ ๐Ÿต ๐Ÿ’พ, ๐Ÿ‘ ๐Ÿ“‡, โšซ๏ธ ๐Ÿ”œ ๐Ÿ•ด ๐Ÿ‘ท โช ๐Ÿ› ๏ธ ๐Ÿƒ, &amp; ๐Ÿ”œ ๐Ÿ•ด ๐Ÿ‘ท โฎ๏ธ ๐Ÿ‘ ๐Ÿ› ๏ธ.
    
    Plain Text
    - Registered: Sun May 05 07:19:11 GMT 2024
    - Last Modified: Sat Apr 01 09:26:04 GMT 2023
    - 4.8K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

      }
    
      @Test
      fun interceptor() {
        var interceptor: Interceptor = Interceptor { TODO() }
        interceptor = Interceptor { it: Interceptor.Chain -> TODO() }
      }
    
      @Test
      fun interceptorChain() {
        val chain: Interceptor.Chain = newInterceptorChain()
      }
    
      @Test
      fun handshakeCertificates() {
        val handshakeCertificates = HandshakeCertificates.Builder().build()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 14:21:25 GMT 2024
    - 46.5K bytes
    - Viewed (4)
Back to top