Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 12 for machine (0.17 sec)

  1. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingConnectionListener.kt

              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          Assertions.fail<Any>("event $e without matching start event")
        }
      }
    
      override fun connectStart(
        route: Route,
        call: Call,
      ) = logEvent(ConnectionEvent.ConnectStart(System.nanoTime(), route, call))
    
      override fun connectFailed(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.6K bytes
    - Viewed (0)
  2. docs/features/caching.md

    Caching
    =======
    
    OkHttp implements an optional, off by default, Cache. OkHttp aims for RFC correct and
    pragmatic caching behaviour, following common real-world browser like Firefox/Chrome and 
    server behaviour when ambiguous.
    
    # Basic Usage
    
    ```kotlin
      private val client: OkHttpClient = OkHttpClient.Builder()
          .cache(Cache(
              directory = File(application.cacheDir, "http_cache"),
              // $0.05 worth of phone storage in 2020
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

        // names or patterns, but they should be treated as absolute. At the same time, any hostname
        // presented to this method should also be treated as absolute for the purposes of matching
        // to the server certificate.
        //   www.android.com  matches www.android.com
        //   www.android.com  matches www.android.com.
        //   www.android.com. matches www.android.com.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  4. mkdocs.yml

      - pymdownx.tabbed:
          alternate_style: true
      - tables
    
    plugins:
      - search
      - redirects:
          redirect_maps:
            # Redirect all feature pages to features/*
            'caching.md': 'features/caching.md'
            'calls.md': 'features/calls.md'
            'connections.md': 'features/connections.md'
            'events.md': 'features/events.md'
            'https.md': 'features/events.md'
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Nov 20 15:26:12 GMT 2023
    - 3.8K bytes
    - Viewed (0)
  5. docs/changelogs/changelog_1x.md

     * Fix: Support empty SPDY header values.
    
    
    ## Version 1.2.0
    
    _2013-08-11_
    
     *  New APIs on OkHttpClient to set default timeouts for connect and read.
     *  Fix bug when caching SPDY responses.
     *  Fix a bug with SPDY plus half-closed streams. (thanks kwuollett)
     *  Fix a bug in `Content-Length` reporting for gzipped streams in the Apache
        HTTP client adapter. (thanks kwuollett)
    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)
  6. docs/works_with_okhttp.md

     * [Fresco](https://github.com/facebook/fresco): An Android library for managing images and the memory they use.
     * [Glide](https://github.com/bumptech/glide): An image loading and caching library for Android focused on smooth scrolling.
     * [GoogleAppEngineOkHttp](https://github.com/apkelly/GoogleAppEngineOkHttp): An OkHttp Call that works on Google App Engine.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Jun 08 18:15:23 GMT 2022
    - 3.8K bytes
    - Viewed (0)
  7. README.md

     * HTTP/2 support allows all requests to the same host to share a socket.
     * Connection pooling reduces request latency (if HTTP/2 isn’t available).
     * Transparent GZIP shrinks download sizes.
     * Response caching avoids the network completely for repeat requests.
    
    OkHttp perseveres when the network is troublesome: it will silently recover from common connection
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 6.2K bytes
    - Viewed (0)
  8. okhttp-testing-support/src/main/kotlin/okhttp3/RecordingEventListener.kt

              null -> return // no open event
              true -> return // found open event
              false -> return@loop // this is not the open event so continue
            }
          }
          fail<Any>("event $e without matching start event")
        }
      }
    
      override fun proxySelectStart(
        call: Call,
        url: HttpUrl,
      ) = logEvent(ProxySelectStart(System.nanoTime(), call, url))
    
      override fun proxySelectEnd(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9K bytes
    - Viewed (1)
  9. docs/features/interceptors.md

    ```java
    /** Dangerous interceptor that rewrites the server's cache-control header. */
    private static final Interceptor REWRITE_CACHE_CONTROL_INTERCEPTOR = new Interceptor() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 8.1K bytes
    - Viewed (0)
  10. gradle.properties

    org.gradle.caching=true
    org.gradle.jvmargs='-Dfile.encoding=UTF-8'
    org.gradle.parallel=true
    android.enableJetifier=true
    android.useAndroidX=true
    kotlin.mpp.stability.nowarn=true
    kotlin.js.compiler=ir
    kotlin.incremental.js.ir=true
    androidBuild=false
    graalBuild=false
    loomBuild=false
    containerTests=false
    Properties
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 09:58:21 GMT 2024
    - 343 bytes
    - Viewed (0)
Back to top