Search Options

Results per page
Sort
Preferred Languages
Advance

Results 121 - 130 of 155 for okHttpClient (0.09 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/internal/concurrent/TaskFaker.kt

    import java.util.concurrent.BlockingQueue
    import java.util.concurrent.Executors
    import java.util.concurrent.TimeUnit
    import java.util.logging.Logger
    import kotlin.concurrent.withLock
    import okhttp3.OkHttpClient
    import okhttp3.TestUtil.threadFactory
    
    /**
     * Runs a [TaskRunner] in a controlled environment so that everything is sequential and
     * deterministic.
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 29 00:33:04 UTC 2024
    - 12.6K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import okhttp3.CallEvent.RequestFailed
    import okhttp3.CallEvent.ResponseFailed
    import okhttp3.DelegatingServerSocketFactory
    import okhttp3.DelegatingSocketFactory
    import okhttp3.MediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol.HTTP_1_1
    import okhttp3.RecordingEventListener
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.SimpleProvider
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 9.9K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/internal/connection/ConnectionPoolTest.kt

    import assertk.assertions.isFalse
    import assertk.assertions.isNotEmpty
    import assertk.assertions.isTrue
    import okhttp3.Address
    import okhttp3.ConnectionPool
    import okhttp3.FakeRoutePlanner
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TestUtil.awaitGarbageCollection
    import okhttp3.internal.concurrent.TaskRunner
    import okhttp3.internal.connection.Locks.withLock
    import okhttp3.internal.http2.Http2
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jun 22 16:06:35 UTC 2024
    - 12.8K bytes
    - Viewed (0)
  4. docs/changelogs/changelog_2x.md

        OkHttp 2 the built-in disk cache is the only supported response cache.
    
     *  **HttpResponseCache has been renamed to Cache.** Install it with
        `OkHttpClient.setCache(...)` instead of `OkHttpClient.setResponseCache(...)`.
    
     *  **OkAuthenticator has been replaced with Authenticator.** This new
        authenticator has access to the full incoming response and can respond with
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 26.6K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/KotlinSourceModernTest.kt

        builder = builder.addPart(MultipartBody.Part.create(requestBody))
        val multipartBody: MultipartBody = builder.build()
      }
    
      @Test
      fun okHttpClient() {
        val client: OkHttpClient = OkHttpClient()
        val dispatcher: Dispatcher = client.dispatcher
        val proxy: Proxy? = client.proxy
        val protocols: List<Protocol> = client.protocols
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Apr 01 14:21:25 UTC 2024
    - 46.5K bytes
    - Viewed (0)
  6. docs/features/connections.md

    In OkHttp some fields of the address come from the URL (scheme, hostname, port) and the rest come from the [OkHttpClient](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-ok-http-client/).
    
    ### [Routes](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-route/)
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Feb 21 03:33:59 UTC 2022
    - 5.4K bytes
    - Viewed (0)
  7. okhttp-dnsoverhttps/src/test/java/okhttp3/dnsoverhttps/DnsOverHttpsTest.kt

    import java.net.UnknownHostException
    import java.util.concurrent.TimeUnit
    import mockwebserver3.MockResponse
    import mockwebserver3.MockWebServer
    import okhttp3.Cache
    import okhttp3.Dns
    import okhttp3.OkHttpClient
    import okhttp3.Protocol
    import okhttp3.testing.PlatformRule
    import okio.Buffer
    import okio.ByteString.Companion.decodeHex
    import okio.Path.Companion.toPath
    import okio.fakefilesystem.FakeFileSystem
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 11K bytes
    - Viewed (0)
  8. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    import javax.net.ssl.SSLSession
    import javax.net.ssl.SSLSocket
    import okhttp3.Call
    import okhttp3.Connection
    import okhttp3.ConnectionSpec
    import okhttp3.EventListener
    import okhttp3.Handshake
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.TlsVersion
    import okhttp3.TlsVersion.TLS_1_2
    import okhttp3.TlsVersion.TLS_1_3
    import okhttp3.internal.SuppressSignatureCheck
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 10.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

    import java.io.EOFException
    import java.io.IOException
    import java.net.ProtocolException
    import java.util.concurrent.TimeUnit.MILLISECONDS
    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.EMPTY_HEADERS
    import okhttp3.internal.checkOffsetAndCount
    import okhttp3.internal.discard
    import okhttp3.internal.headersContentLength
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 16.2K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/internal/connection/RealCall.kt

    import java.util.concurrent.atomic.AtomicInteger
    import java.util.concurrent.locks.ReentrantLock
    import okhttp3.Call
    import okhttp3.Callback
    import okhttp3.EventListener
    import okhttp3.Interceptor
    import okhttp3.OkHttpClient
    import okhttp3.Request
    import okhttp3.Response
    import okhttp3.internal.assertHeld
    import okhttp3.internal.assertNotHeld
    import okhttp3.internal.assertThreadDoesntHoldLock
    import okhttp3.internal.cache.CacheInterceptor
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 17.9K bytes
    - Viewed (0)
Back to top