Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 5 of 5 for distance (0.27 sec)

  1. docs/changelogs/changelog_3x.md

        memory!
    
        The best practice in OkHttp 3 is to create a single OkHttpClient instance
        and share it throughout the application. Requests that needs a customized
        client should call `OkHttpClient.newBuilder()` on that shared instance.
        This allows customization without the drawbacks of separate connection
        pools.
    
    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)
  2. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * Usually a webserver is reachable with multiple identifiers: its IP addresses, registered
     * domain names, and even `localhost` when connecting from the server itself. Each of a web server's
     * names is a distinct URL and they are not interchangeable. For example, even if
     * `http://square.github.io/dagger` and `http://google.github.io/dagger` are served by the same IP
     * address, the two URLs identify different resources.
     *
    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)
  3. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

     *
     * OkHttp performs best when you create a single `OkHttpClient` instance and reuse it for all of
     * your HTTP calls. This is because each client holds its own connection pool and thread pools.
     * Reusing connections and threads reduces latency and saves memory. Conversely, creating a client
     * for each request wastes resources on idle pools.
     *
     * Use `new OkHttpClient()` to create a shared instance with the default settings:
     *
     * ```java
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  4. okhttp/api/okhttp.api

    	public abstract fun saveFromResponse (Lokhttp3/HttpUrl;Ljava/util/List;)V
    }
    
    public final class okhttp3/CookieJar$Companion {
    }
    
    public final class okhttp3/Credentials {
    	public static final field INSTANCE Lokhttp3/Credentials;
    	public static final fun basic (Ljava/lang/String;Ljava/lang/String;)Ljava/lang/String;
    	public static final fun basic (Ljava/lang/String;Ljava/lang/String;Ljava/nio/charset/Charset;)Ljava/lang/String;
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:41:01 GMT 2024
    - 70.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/internal/http2/Http2ConnectionTest.kt

        peer.play()
        val longString = repeat('a', Http2.INITIAL_MAX_FRAME_SIZE + 1)
        val socket = peer.openSocket()
        val connection =
          Http2Connection.Builder(true, TaskRunner.INSTANCE)
            .socket(socket)
            .pushObserver(IGNORE)
            .build()
        connection.start(sendConnectionPreface = false)
        socket.shutdownOutput()
        assertFailsWith<IOException> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 75.4K bytes
    - Viewed (0)
Back to top