Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 1 of 1 for showUrl (0.04 seconds)

The search processing time has exceeded the limit. The displayed results may be partial.

  1. samples/guide/src/main/java/okhttp3/recipes/kt/CustomTrust.kt

            .Builder()
            .sslSocketFactory(certificates.sslSocketFactory(), certificates.trustManager)
            .build()
      }
    
      fun run() {
        showUrl("https://squareup.com/robots.txt")
        showUrl("https://publicobject.com/helloworld.txt")
      }
    
      private fun showUrl(url: String) {
        val request = Builder().url(url).build()
        client
          .newCall(request)
          .execute()
          .use { response ->
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Wed Mar 19 19:25:20 GMT 2025
    - 8.8K bytes
    - Click Count (0)
Back to Top