Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for max_size (0.06 sec)

  1. docs/recipes.md

    === ":material-language-kotlin: Kotlin"
        ```kotlin
          private val client: OkHttpClient = OkHttpClient.Builder()
              .cache(Cache(
                  directory = cacheDirectory,
                  maxSize = 10L * 1024L * 1024L // 10 MiB
              ))
              .build()
    
          fun run() {
            val request = Request.Builder()
                .url("http://publicobject.com/helloworld.txt")
                .build()
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 30 17:01:12 UTC 2025
    - 47.8K bytes
    - Viewed (0)
Back to top