Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 57 for directly (0.6 sec)

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

     *  * **HTTP proxy:** a proxy server may be explicitly configured for the client. Otherwise, the
     *    [proxy selector][java.net.ProxySelector] is used. It may return multiple proxies to attempt.
     *  * **IP address:** whether connecting directly to an origin server or a proxy, opening a socket
     *    requires an IP address. The DNS server may return multiple IP addresses to attempt.
     *
     * Each route is a specific selection of these options.
     */
    class Route(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.3K bytes
    - Viewed (0)
  2. docs/changelogs/changelog_1x.md

     * New: Support for "PATCH" HTTP method in client and MockWebServer.
     * Fix: Drop `Content-Length` header when redirected from POST to GET.
     * Fix: Correctly read cached header entries with malformed header names.
     * Fix: Do not directly support any authentication schemes other than "Basic".
     * Fix: Respect read timeouts on recycled connections.
     * Fix: Transmit multiple cookie values as a single header with delimiter.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 6.4K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/InterceptorTest.kt

      @Test
      fun interceptorMakesAnUnrelatedRequest() {
        server.enqueue(MockResponse.Builder().body("a").build()) // Fetched by interceptor.
        server.enqueue(MockResponse.Builder().body("b").build()) // Fetched directly.
        client =
          client.newBuilder()
            .addInterceptor(
              Interceptor { chain: Interceptor.Chain ->
                if (chain.request().url.encodedPath == "/b") {
                  val requestA =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 27.8K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Cache.kt

        cache.close()
      }
    
      @get:JvmName("directory")
      val directory: File
        get() = cache.directory.toFile()
    
      @get:JvmName("directoryPath")
      val directoryPath: Path
        get() = cache.directory
    
      @JvmName("-deprecated_directory")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "directory"),
        level = DeprecationLevel.ERROR,
      )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

          throw ProtocolException("Control frame must be less than ${PAYLOAD_BYTE_MAX}B.")
        }
    
        if (isMasked) {
          // Read the masking key as bytes so that they can be used directly for unmasking.
          source.readFully(maskKey!!)
        }
      }
    
      @Throws(IOException::class)
      private fun readControlFrame() {
        if (frameLength > 0L) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  6. docs/changelogs/changelog_3x.md

        present in earlier versions of OkHttp.
     *  New: Accept user-provided trust managers in `OkHttpClient.Builder`. This
        allows OkHttp to satisfy its TLS requirements directly. Otherwise OkHttp
        will use reflection to extract the `TrustManager` from the
        `SSLSocketFactory`.
     *  New: Support prerelease Java 9. This gets ALPN from the platform rather than
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 14:55:54 GMT 2022
    - 50.8K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * Neither of the built-in URL models offer direct access to path segments or query parameters.
     * Manually using `StringBuilder` to assemble these components is cumbersome: do '+' characters get
     * silently replaced with spaces? If a query parameter contains a '&', does that get escaped?
     * By offering methods to read and write individual query parameters directly, application
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  8. kotlin-js-store/yarn.lock

      integrity sha512-/vxpCXddiX8NGfGO/mTafwjq4aFa/71pvamip0++IQk3zG8cbCj0fifNPrjjF1XMXUne91jL9OoxmdykoEtifQ==
      dependencies:
        resolve "^1.20.0"
    
    require-directory@^2.1.1:
      version "2.1.1"
      resolved "https://registry.yarnpkg.com/require-directory/-/require-directory-2.1.1.tgz#8c64ad5fd30dab1c976e2344ffe7f792a6a6df42"
      integrity sha512-fGxEI7+wsG9xrvdjsrlmL22OMTTiHRwAMroiEeMgq8gzoLC/PQr7RsRDSTLUg/bZAZtF+TVIkHc6/4RIKrui+Q==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/kt/CacheResponse.kt

    import okhttp3.OkHttpClient
    import okhttp3.Request
    
    class CacheResponse(cacheDirectory: File) {
      private val client: OkHttpClient =
        OkHttpClient.Builder()
          .cache(
            Cache(
              directory = cacheDirectory,
              // 1 MiB.
              maxSize = 10L * 1024L * 1024L,
            ),
          )
          .build()
    
      fun run() {
        val request =
          Request.Builder()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (2)
  10. okhttp/src/main/kotlin/okhttp3/internal/platform/android/AndroidCertificateChainCleaner.kt

    import javax.net.ssl.X509TrustManager
    import okhttp3.internal.SuppressSignatureCheck
    import okhttp3.internal.tls.CertificateChainCleaner
    
    /**
     * Android implementation of CertificateChainCleaner using direct Android API calls.
     * Not used if X509TrustManager doesn't implement [X509TrustManager.checkServerTrusted] with
     * an additional host param.
     */
    internal class AndroidCertificateChainCleaner(
    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)
Back to top