Search Options

Results per page
Sort
Preferred Languages
Advance

Results 151 - 155 of 155 for okHttpClient (0.23 sec)

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

     * bandwidth.
     *
     * The Cache instance must have exclusive access to the [directory], since the internal data structures
     * may cause corruption or runtime errors if not. It may however be shared amongst multiple OkHttpClient
     * instances.
     *
     * ## Cache Optimization
     *
     * To measure cache effectiveness, this class tracks three statistics:
     *
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 26.8K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/EventListener.kt

         * [EventListener] instance will be used during the lifecycle of [call].
         *
         * This method is invoked after [call] is created. See [OkHttpClient.newCall].
         *
         * **It is an error for implementations to issue any mutating operations on the [call] instance
         * from this method.**
         */
        fun create(call: Call): EventListener
      }
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 15.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/ConnectionCoalescingTest.kt

      @RegisterExtension
      val platform = PlatformRule()
    
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
      private lateinit var server: MockWebServer
      private lateinit var client: OkHttpClient
      private lateinit var rootCa: HeldCertificate
      private lateinit var certificate: HeldCertificate
      private val dns = FakeDns()
      private lateinit var url: HttpUrl
      private lateinit var serverIps: List<InetAddress>
    
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Jan 20 10:30:28 UTC 2024
    - 18.7K bytes
    - Viewed (0)
  4. okhttp/src/test/java/okhttp3/internal/http2/HttpOverHttp2Test.kt

    import okhttp3.Headers.Companion.headersOf
    import okhttp3.HttpUrl.Companion.toHttpUrl
    import okhttp3.Interceptor
    import okhttp3.MediaType
    import okhttp3.MediaType.Companion.toMediaType
    import okhttp3.OkHttpClient
    import okhttp3.OkHttpClientTestRule
    import okhttp3.Protocol
    import okhttp3.RecordingCookieJar
    import okhttp3.RecordingHostnameVerifier
    import okhttp3.Request
    import okhttp3.RequestBody
    import okhttp3.Response
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Thu Apr 11 22:09:35 UTC 2024
    - 75.3K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/CacheTest.kt

      private lateinit var server: MockWebServer
      private lateinit var server2: MockWebServer
      private val handshakeCertificates = platform.localhostHandshakeCertificates()
      private lateinit var client: OkHttpClient
      private lateinit var cache: Cache
      private val cookieManager = CookieManager()
    
      @BeforeEach
      fun setUp(
        @MockWebServerInstance(name = "1") server: MockWebServer,
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Wed Apr 10 19:46:48 UTC 2024
    - 108.6K bytes
    - Viewed (0)
Back to top