Search Options

Results per page
Sort
Preferred Languages
Advance

Results 21 - 30 of 75 for Leach (0.12 sec)

  1. okhttp/src/test/java/okhttp3/CallTest.kt

        assertThat(server.takeRequest().sequenceNumber).isEqualTo(0)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(1)
        assertThat(server.takeRequest().sequenceNumber).isEqualTo(2)
      }
    
      /**
       * Each OkHttpClient used to get its own instance of NullProxySelector, and because these weren't
       * equal their connections weren't pooled. That's a nasty performance bug!
       *
       * https://github.com/square/okhttp/issues/5519
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 142.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/connection/RouteSelector.kt

    import okhttp3.HttpUrl
    import okhttp3.Route
    import okhttp3.internal.canParseAsIpAddress
    import okhttp3.internal.immutableListOf
    import okhttp3.internal.toImmutableList
    
    /**
     * Selects routes to connect to an origin server. Each connection requires a choice of proxy server,
     * IP address, and TLS mode. Connections may also be recycled.
     */
    class RouteSelector(
      private val address: Address,
      private val routeDatabase: RouteDatabase,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Mar 06 17:33:38 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  3. okhttp/src/test/java/okhttp3/FastFallbackTest.kt

    import org.opentest4j.TestAbortedException
    
    /**
     * This test binds two different web servers (IPv4 and IPv6) to the same port, but on different
     * local IP addresses. Requests made to `127.0.0.1` will reach the IPv4 server, and requests made to
     * `::1` will reach the IPv6 server.
     *
     * By orchestrating two different servers with the same port but different IP addresses, we can
     * test what OkHttp does when both are reachable, or if only one is reachable.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.3K bytes
    - Viewed (0)
  4. docs/features/connections.md

     * They don't specify whether a specific proxy server should be used or how to authenticate with that proxy server.
    
    They're also concrete: each URL identifies a specific path (like `/square/okhttp`) and query (like `?q=sharks&lang=en`). Each webserver hosts many URLs.
    
    ### [Addresses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-address/)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Feb 21 03:33:59 GMT 2022
    - 5.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/WebPlatformToAsciiData.kt

    import kotlinx.serialization.decodeFromString
    import kotlinx.serialization.json.Json
    
    /**
     * A test from the [Web Platform To ASCII](https://github.com/web-platform-tests/wpt/blob/master/url/resources/toascii.json).
     *
     * Each test is a line of the file `toascii.json`.
     */
    @Serializable
    class WebPlatformToAsciiData {
      var input: String? = null
      var output: String? = null
      var comment: String? = null
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.4K bytes
    - Viewed (0)
  6. gradle/wrapper/gradle-wrapper.jar

    License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive, no-charge, royalty-free, irrevocable copyright license to reproduce, prepare Derivative Works of, publicly display, publicly perform, sublicense, and distribute the Work and such Derivative Works in Source or Object form. 3. Grant of Patent License. Subject to the terms and conditions of this License, each Contributor hereby grants to You a perpetual, worldwide, non-exclusive,...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

    /**
     * A one-shot stream from the origin server to the client application with the raw bytes of the
     * response body. Each response body is supported by an active connection to the webserver. This
     * imposes both obligations and limits on the client application.
     *
     * ### The response body must be closed.
     *
     * Each response body is backed by a limited resource like a socket (live network responses) or
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     * q: cute #puppies
     * f: images
     * ```
     *
     * In addition to composing URLs from their component parts and decomposing URLs into their
     * component parts, this class implements relative URL resolution: what address you'd reach by
     * clicking a relative link on a specified page. For example:
     *
     * ```java
     * HttpUrl base = HttpUrl.parse("https://www.youtube.com/user/WatchTheDaily/videos");
     * HttpUrl link = base.resolve("../../watch?v=cbP2N1BQdYc");
    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)
  9. docs/features/calls.md

    # Calls
    
    The HTTP client’s job is to accept your request and produce its response. This is simple in theory but it gets tricky in practice.
    
    ## [Requests](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-request/)
    
    Each HTTP request contains a URL, a method (like `GET` or `POST`), and a list of headers. Requests may also contain a body: a data stream of a specific content type.
    
    ## [Responses](https://square.github.io/okhttp/4.x/okhttp/okhttp3/-response/)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.9K bytes
    - Viewed (0)
  10. docs/changelogs/changelog_1x.md

        X-Android-Selected-Transport is now OkHttp-Selected-Transport
        ```
     *  Improve cache invalidation for POST-like requests.
     *  Bring MockWebServer into OkHttp and teach it SPDY.
    
    
    ## Version 1.1.1
    
    _2013-06-23_
    
     * Fix: ClassCastException when caching responses that were redirected from
       HTTP to HTTPS.
    
    
    ## Version 1.1.0
    
    _2013-06-15_
    
    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)
Back to top