Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 15 for service (0.22 sec)

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

     */
    package okhttp3
    
    import java.net.InetAddress
    import java.net.UnknownHostException
    import okhttp3.Dns.Companion.SYSTEM
    
    /**
     * A domain name service that resolves IP addresses for host names. Most applications will use the
     * [system DNS service][SYSTEM], which is the default. Some applications may provide their own
     * implementation to use a different DNS server, to prefer IPv6 addresses, to prefer IPv4 addresses,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.2K bytes
    - Viewed (0)
  2. container-tests/README.md

    OkHttp Container Tests
    ======================
    
    This module contains tests against other services
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Jan 20 09:58:21 GMT 2024
    - 113 bytes
    - Viewed (0)
  3. gradle/libs.versions.toml

    nativeImageSvm = { module = "org.graalvm.nativeimage:svm", version.ref = "graalvm" }
    openjsse = "org.openjsse:openjsse:1.1.14"
    playservices-safetynet = "com.google.android.gms:play-services-safetynet:18.0.1"
    robolectric-android = "org.robolectric:android-all:14-robolectric-10818077"
    robolectric = "org.robolectric:robolectric:4.12.1"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 22 19:34:32 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/osgi/OsgiTest.kt

    import aQute.bnd.build.Project
    import aQute.bnd.build.Workspace
    import aQute.bnd.build.model.BndEditModel
    import aQute.bnd.deployer.repository.LocalIndexedRepo
    import aQute.bnd.osgi.Constants
    import aQute.bnd.service.RepositoryPlugin
    import biz.aQute.resolve.Bndrun
    import java.io.File
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toPath
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Tag
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.9K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Address.kt

     *
     * HTTP requests that share the same [Address] may also share the same [Connection].
     */
    class Address(
      uriHost: String,
      uriPort: Int,
      /** Returns the service that will be used to resolve IP addresses for hostnames. */
      @get:JvmName("dns") val dns: Dns,
      /** Returns the socket factory for new connections. */
      @get:JvmName("socketFactory") val socketFactory: SocketFactory,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
  6. android-test/README.md

    Android Test
    ============
    
    A gradle module for running Android instrumentation tests on a device or emulator.
    
    1. Add an Emulator named `pixel5`, if you don't already have one
    
    ```
    $ sdkmanager --install "system-images;android-29;google_apis;x86"
    $ echo "no" | avdmanager --verbose create avd --force --name "pixel5" --device "pixel" --package "system-images;android-29;google_apis;x86" --tag "google_apis" --abi "x86"
    ```
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2.5K bytes
    - Viewed (0)
  7. okhttp-android/src/androidTest/kotlin/okhttp3/android/AndroidAsyncDnsTest.kt

      @Test
      fun testRequestOnNetwork() {
        assumeNetwork()
    
        val context = InstrumentationRegistry.getInstrumentation().context
        val connectivityManager =
          context.getSystemService(Context.CONNECTIVITY_SERVICE) as ConnectivityManager
    
        val network =
          connectivityManager.activeNetwork ?: throw AssumptionViolatedException("No active network")
    
        val client =
          OkHttpClient.Builder()
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  8. README.md

    OkHttp perseveres when the network is troublesome: it will silently recover from common connection
    problems. If your service has multiple IP addresses, OkHttp will attempt alternate addresses if the
    first connect fails. This is necessary for IPv4+IPv6 and services hosted in redundant data
    centers. OkHttp supports modern TLS features (TLS 1.3, ALPN, certificate pinning). It can be
    configured to fall back for broad connectivity.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  9. okhttp/src/test/java/okhttp3/SocksProxy.kt

          Thread.currentThread().name = threadName
          try {
            while (true) {
              val socket = serverSocket!!.accept()
              connectionCount.incrementAndGet()
              service(socket)
            }
          } catch (e: SocketException) {
            logger.info("$threadName done accepting connections: ${e.message}")
          } catch (e: IOException) {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/concurrent/TaskRunner.kt

                var completedNormally = false
                try {
                  runTask(task)
                  completedNormally = true
                } finally {
                  // If the task is crashing start another thread to service the queues.
                  if (!completedNormally) {
                    lock.withLock {
                      backend.execute(this@TaskRunner, this)
                    }
                  }
                }
              }
            }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top