Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for buildString (0.42 sec)

  1. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          try {
            response = chain.proceed(request)
          } catch (e: Exception) {
            val tookMs = TimeUnit.NANOSECONDS.toMillis(System.nanoTime() - startNs)
            logger.log(
              buildString {
                append("<-- HTTP FAILED: $e.")
                append(" ${redactUrl(request.url)} (${tookMs}ms)")
              },
            )
            throw e
          }
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Aug 21 14:27:04 UTC 2025
    - 11.4K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Request.kt

        replaceWith = ReplaceWith(expression = "cacheControl"),
        level = DeprecationLevel.ERROR,
      )
      fun cacheControl(): CacheControl = cacheControl
    
      override fun toString(): String =
        buildString(32) {
          append("Request{method=")
          append(method)
          append(", url=")
          append(url)
          if (headers.size != 0) {
            append(", headers=[")
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Aug 16 09:39:51 UTC 2025
    - 13.1K bytes
    - Viewed (1)
Back to top