Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for customizer (0.16 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/OkHttpClient.kt

     *     .addInterceptor(new HttpLoggingInterceptor())
     *     .cache(new Cache(cacheDir, cacheSize))
     *     .build();
     * ```
     *
     * ## Customize Your Client With newBuilder()
     *
     * You can customize a shared OkHttpClient instance with [newBuilder]. This builds a client that
     * shares the same connection pool, thread pools, and configuration. Use the builder methods to
    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)
Back to top