Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 10 for Cook (0.17 sec)

  1. okhttp-android/build.gradle.kts

    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
    
        buildFeatures {
          buildConfig = false
        }
    
        testOptions {
          unitTests {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Apr 01 11:07:32 GMT 2024
    - 2K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/AutobahnTester.kt

        check(latch.await(30, TimeUnit.SECONDS)) { "Timed out waiting for test $number to finish." }
        val endNanos = System.nanoTime()
        val tookMs = TimeUnit.NANOSECONDS.toMillis(endNanos - startNanos.get())
        println("Took ${tookMs}ms")
      }
    
      private fun getTestCount(): Long {
        val latch = CountDownLatch(1)
        val countRef = AtomicLong()
        val failureRef = AtomicReference<Throwable>()
    
        newWebSocket(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  3. CONTRIBUTING.md

    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  4. android-test/build.gradle.kts

    android {
      compileSdk = 34
    
      namespace = "okhttp.android.test"
    
      defaultConfig {
        minSdk = 21
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
          "runnerBuilder" to "de.mannodermaus.junit5.AndroidJUnit5Builder",
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. docs/contribute/contributing.md

    If you've found a bug, please contribute a failing test case so we can study and fix it.
    
    If you have a new feature idea, please build it in an external library. There are
    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/http/HttpHeaders.kt

    import okio.ByteString.Companion.encodeUtf8
    
    private val QUOTED_STRING_DELIMITERS = "\"\\".encodeUtf8()
    private val TOKEN_DELIMITERS = "\t ,=".encodeUtf8()
    
    /**
     * Parse RFC 7235 challenges. This is awkward because we need to look ahead to know how to
     * interpret a token.
     *
     * For example, the first line has a parameter name/value pair and the second line has a single
     * token68:
     *
     * ```
     * WWW-Authenticate: Digest foo=bar
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.2K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketExtensions.kt

     * `permessage-deflate` and four parameters, `client_max_window_bits`, `client_no_context_takeover`,
     * `server_max_window_bits`, and `server_no_context_takeover`.
     *
     * Typically this will look like one of the following:
     *
     * ```
     * Sec-WebSocket-Extensions: permessage-deflate
     * Sec-WebSocket-Extensions: permessage-deflate; client_max_window_bits="15"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.1K bytes
    - Viewed (0)
  8. .github/CONTRIBUTING.md

    - Favour a working external library if appropriate.  There are many examples of OkHttp libraries that can sit on top or hook in via existing APIs.
    - Get working code on a personal branch with tests before you submit a PR.
    - OkHttp is a small and light dependency.  Don't introduce new dependencies or major new functionality.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 17 04:16:26 GMT 2019
    - 1.4K bytes
    - Viewed (0)
  9. regression-test/build.gradle.kts

    }
    
    android {
      compileSdk = 34
    
      namespace = "okhttp.android.regression"
    
      defaultConfig {
        minSdk = 21
        targetSdk = 34
    
        // Make sure to use the AndroidJUnitRunner (or a sub-class) in order to hook in the JUnit 5 Test Builder
        testInstrumentationRunner = "androidx.test.runner.AndroidJUnitRunner"
        testInstrumentationRunnerArguments += mapOf(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 1.6K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/WebPlatformUrlTestData.kt

     * JavaScript parser `urltestparser.js` with which this class attempts to be compatible.
     *
     * Each line of the `urltestdata.txt` file specifies a test. Lines look like this:
     *
     * ```
     * http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
     * ```
     */
    class WebPlatformUrlTestData {
      var input: String? = null
      var base: String? = null
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.7K bytes
    - Viewed (0)
Back to top