Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 109 for listo (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectionUser.kt

      fun candidateConnection(): RealConnection?
    
      fun proxySelectStart(url: HttpUrl)
    
      fun proxySelectEnd(
        url: HttpUrl,
        proxies: List<Proxy>,
      )
    
      fun dnsStart(socketHost: String)
    
      fun dnsEnd(
        socketHost: String,
        result: List<InetAddress>,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Apr 05 03:30:42 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/LoggingEventListener.kt

        call: Call,
        url: HttpUrl,
        proxies: List<Proxy>,
      ) {
        logWithTime("proxySelectEnd: $proxies")
      }
    
      override fun dnsStart(
        call: Call,
        domainName: String,
      ) {
        logWithTime("dnsStart: $domainName")
      }
    
      override fun dnsEnd(
        call: Call,
        domainName: String,
        inetAddressList: List<InetAddress>,
      ) {
        logWithTime("dnsEnd: $inetAddressList")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 5.4K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

       */
      @Throws(IOException::class)
      fun newStream(
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        return newStream(0, requestHeaders, out)
      }
    
      @Throws(IOException::class)
      private fun newStream(
        associatedStreamId: Int,
        requestHeaders: List<Header>,
        out: Boolean,
      ): Http2Stream {
        val outFinished = !out
        val inFinished = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/tls/BasicCertificateChainCleaner.kt

       * what was used to establish [chain].
       */
      @Throws(SSLPeerUnverifiedException::class)
      override fun clean(
        chain: List<Certificate>,
        hostname: String,
      ): List<Certificate> {
        val queue: Deque<Certificate> = ArrayDeque(chain)
        val result = mutableListOf<Certificate>()
        result.add(queue.removeFirst())
        var foundTrustedCertificate = false
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

     *     a race in fast follow-up.
     *
     *  4. If there's no existing connection, make a list of routes (which may require blocking DNS
     *     lookups) and attempt a new connection them. When failures occur, retries iterate the list of
     *     available routes.
     *
     * If the pool gains an eligible connection while DNS, TCP, or TLS work is in flight, this finder
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. native-image-tests/src/main/kotlin/okhttp3/SampleTest.kt

        }
      }
    
      @ParameterizedTest
      @ArgumentsSource(SampleTestProvider::class)
      fun testParams(mode: String) {
      }
    }
    
    class SampleTestProvider : SimpleProvider() {
      override fun arguments() = listOf("A", "B")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.8K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/EventListenerTest.kt

            .throttleBody(2, 100, TimeUnit.MILLISECONDS)
            .socketPolicy(DisconnectDuringResponseBody)
            .build(),
        )
        client =
          client.newBuilder()
            .protocols(listOf<Protocol>(Protocol.HTTP_1_1))
            .readTimeout(Duration.ofMillis(250))
            .build()
        val call =
          client.newCall(
            Request.Builder()
              .url(server.url("/"))
              .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)
  8. native-image-tests/src/main/kotlin/okhttp3/GenerateClassList.kt

     */
    fun main() {
      val knownTestFile = File("native-image-tests/src/main/resources/testlist.txt")
      val testSelector = DiscoverySelectors.selectPackage("okhttp3")
      val testClasses =
        findTests(listOf(testSelector))
          .filter { it.isContainer }
          .mapNotNull { (it as? ClassBasedTestDescriptor)?.testClass?.name }
          .filterNot { it in avoidedTests }
          .sorted()
          .distinct()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.9K bytes
    - Viewed (0)
  9. android-test/src/androidTest/java/okhttp/android/test/alpn/AlpnOverrideTest.kt

      @Test
      fun getWithCustomSocketFactory() {
        client =
          client.newBuilder()
            .sslSocketFactory(CustomSSLSocketFactory(client.sslSocketFactory), client.x509TrustManager!!)
            .connectionSpecs(
              listOf(
                ConnectionSpec.Builder(ConnectionSpec.MODERN_TLS)
                  .supportsTlsExtensions(false)
                  .build(),
              ),
            )
            .eventListener(
              object : EventListener() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealRoutePlanner.kt

              routeDatabase = routeDatabase,
              connectionUser = connectionUser,
              fastFallback = fastFallback,
            )
          routeSelector = newRouteSelector
        }
    
        // List available IP addresses for the current proxy. This may block in Dns.lookup().
        if (!newRouteSelector.hasNext()) throw IOException("exhausted all routes")
        val newRouteSelection = newRouteSelector.next()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 12K bytes
    - Viewed (0)
Back to top