Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for commonSet (0.03 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/-HeadersCommon.kt

     * found, the existing values are replaced.
     */
    internal fun Headers.Builder.commonSet(
      name: String,
      value: String,
    ) = apply {
      headersCheckName(name)
      headersCheckValue(value, name)
      removeAll(name)
      commonAddLenient(name, value)
    }
    
    /** Equivalent to `build().get(name)`, but potentially faster. */
    internal fun Headers.Builder.commonGet(name: String): String? {
      for (i in namesAndValues.size - 2 downTo 0 step 2) {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Mon May 05 16:01:00 UTC 2025
    - 5.8K bytes
    - Viewed (0)
  2. okhttp/build.gradle.kts

          dependencies {
            api(libs.squareup.okio)
            api(libs.kotlin.stdlib)
    
            compileOnly(libs.animalsniffer.annotations)
          }
        }
    
        commonTest {
          dependencies {
            implementation(projects.okhttpTestingSupport)
            implementation(libs.assertk)
            implementation(libs.kotlin.test.annotations)
            implementation(libs.kotlin.test.common)
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 03 03:59:03 UTC 2025
    - 9.4K bytes
    - Viewed (0)
Back to top