Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 8 of 8 for argument (0.17 sec)

  1. docs/changelogs/changelog_4x.md

     *  Fix: Undo a performance regression introduced in OkHttp 4.0 caused by differences in behavior
        between Kotlin's `assert()` and Java's `assert()`. (Kotlin always evaluates the argument; Java
        only does when assertions are enabled.)
    
     *  Fix: Honor `RequestBody.isOneShot()` in `HttpLoggingInterceptor`.
    
    
    ## Version 4.2.2
    
    _2019-10-06_
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 17 13:25:31 GMT 2024
    - 25.2K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/ResponseBody.kt

          contentLength: Long = -1L,
        ): ResponseBody = commonAsResponseBody(contentType, contentLength)
    
        @JvmStatic
        @Deprecated(
          message = "Moved to extension function. Put the 'content' argument first to fix Java",
          replaceWith =
            ReplaceWith(
              expression = "content.toResponseBody(contentType)",
              imports = ["okhttp3.ResponseBody.Companion.toResponseBody"],
            ),
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (0)
  3. CHANGELOG.md

        OkHttp's request bodies using the boundary only. (This change makes OkHttp more consistent with
        browsers and other HTTP clients.)
     *  New: Drop the `tunnelProxy` argument in `MockWebServer.useHttps()`. This change only impacts
        the OkHttp 5.x API which uses the `mockwebserver3` package.
     *  Fix: Don't call `toDuration()` which isn't available in kotlin-stdlib 1.4.
    
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Headers.kt

        fun build(): Headers = commonBuild()
      }
    
      companion object {
        /**
         * Returns headers for the alternating header names and values. There must be an even number of
         * arguments, and they must alternate between header names and values.
         */
        @JvmStatic
        @JvmName("of")
        fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  5. gradle/wrapper/gradle-wrapper.jar

     state; public final java.util.ArrayList values; public void CommandLineParser$KnownOptionParserSta(CommandLineParser$OptionString, CommandLineOption, ParsedCommandLine, CommandLineParser$ParserState); public final CommandLineParser$ParserState onArgument(String); public final CommandLineParser$ParserState onStartNextArg(); public final boolean getHasArgument(); public final CommandLineParser$ParserState onComplete(); } org/gradle/cli/CommandLineParser$MissingOptionArgStat.class package org.gradle.cli;...
    Archive
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 24 09:00:26 GMT 2023
    - 42.4K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/-UtilCommon.kt

          }
        }
      }
      return result.toTypedArray()
    }
    
    /**
     * Returns true if there is an element in this array that is also in [other]. This method terminates
     * if any intersection is found. The sizes of both arguments are assumed to be so small, and the
     * likelihood of an intersection so great, that it is not worth the CPU cost of sorting or the
     * memory cost of hashing.
     */
    internal fun Array<String>.hasIntersection(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/CookieTest.kt

        }
        assertThrows<IllegalArgumentException> {
          cookieBuilder.sameSite(" a ").build()
        }
    
        cookieBuilder.sameSite("a").build()
      }
    
      @ParameterizedTest(name = "{displayName}({arguments})")
      @ValueSource(strings = ["Lax", "Strict", "UnrecognizedButValid"])
      fun builderSameSite(sameSite: String) {
        val cookie =
          Cookie.Builder()
            .name("a")
            .value("b")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

      companion object {
        // The size of the socket buffers in bytes.
        private const val SOCKET_BUFFER_SIZE = 256 * 1024
      }
    }
    
    class CancelModelParamProvider : SimpleProvider() {
      override fun arguments() =
        CancelTest.CancelMode.values().flatMap { c ->
          CancelTest.ConnectionType.values().map { x ->
            Pair(
              c,
              x,
            )
          }
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top