Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 54 for option (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/connection/Locks.kt

        return lock.withLock(action)
      }
    
      inline fun <T> Http2Connection.withLock(action: () -> T): T {
        contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) }
        return lock.withLock(action)
      }
    
      inline fun <T> Http2Stream.withLock(action: () -> T): T {
        contract { callsInPlace(action, InvocationKind.EXACTLY_ONCE) }
        return lock.withLock(action)
      }
    
      inline fun <T> Http2Writer.withLock(action: () -> T): T {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 2.1K bytes
    - Viewed (0)
  2. samples/crawler/build.gradle.kts

      kotlin("jvm")
      application
    }
    
    application {
      mainClass.set("okhttp3.sample.Crawler")
    }
    
    dependencies {
      implementation(projects.okhttp)
      implementation(libs.jsoup)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 15 23:38:32 GMT 2022
    - 234 bytes
    - Viewed (0)
  3. samples/compare/build.gradle.kts

      testImplementation(libs.httpClient5)
      testImplementation(libs.jettyClient)
      testImplementation(libs.junit)
      testImplementation(libs.assertk)
    }
    
    tasks.compileJava {
      options.isWarnings = false
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Jan 04 05:32:07 GMT 2024
    - 470 bytes
    - Viewed (0)
  4. native-image-tests/src/main/kotlin/okhttp3/RunTests.kt

     */
    package okhttp3
    
    import java.io.File
    import java.io.PrintWriter
    import kotlin.system.exitProcess
    import org.junit.jupiter.engine.JupiterTestEngine
    import org.junit.platform.console.options.Theme
    import org.junit.platform.engine.DiscoverySelector
    import org.junit.platform.engine.TestDescriptor
    import org.junit.platform.engine.TestEngine
    import org.junit.platform.engine.discovery.DiscoverySelectors.selectClass
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  5. native-image-tests/build.gradle.kts

        )
      }
    }
    
    graal {
      mainClass("okhttp3.RunTestsKt")
      outputName("ConsoleLauncher")
      graalVersion(libs.versions.graalvm.get())
      javaVersion("11")
    
      option("--no-fallback")
      option("--report-unsupported-elements-at-runtime")
      option("-H:+ReportExceptionStackTraces")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 06 05:31:00 GMT 2024
    - 1.6K bytes
    - Viewed (0)
  6. docs/security/tls_configuration_history.md

    TLS Configuration History
    =========================
    
    OkHttp tracks the dynamic TLS ecosystem to balance connectivity and security. This page is a log of
    changes we've made over time to OkHttp's default TLS options.
    
    [OkHttp 3.14][OkHttp314]
    ------------------------
    
    _2019-03-14_
    
    Remove 2 TLSv1.3 cipher suites that are neither available on OkHttp’s host platforms nor enabled in releases of Chrome and Firefox.
    
    ##### RESTRICTED_TLS cipher suites
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/internal/cache/DiskLruCache.kt

       * contains space-separated values: a state, a key, and optional state-specific values.
       *
       *   o DIRTY lines track that an entry is actively being created or updated. Every successful
       *     DIRTY action should be followed by a CLEAN or REMOVE action. DIRTY lines without a matching
       *     CLEAN or REMOVE indicate that temporary files may need to be deleted.
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 34.7K bytes
    - Viewed (0)
  8. okhttp/src/test/java/okhttp3/CacheTest.kt

            .addHeader("Cache-Control: s-maxage=180")
            .addHeader("Cache-Control: max-age=60")
            .build(),
        )
      }
    
      @Test
      fun requestMethodOptionsIsNotCached() {
        testRequestMethod("OPTIONS", false)
      }
    
      @Test
      fun requestMethodGetIsCached() {
        testRequestMethod("GET", true)
      }
    
      @Test
      fun requestMethodHeadIsNotCached() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Protocol.kt

       * Servers that enforce this may send an exception message including the string
       * `INADEQUATE_SECURITY`.
       */
      HTTP_2("h2"),
    
      /**
       * Cleartext HTTP/2 with no "upgrade" round trip. This option requires the client to have prior
       * knowledge that the server supports cleartext HTTP/2.
       *
       * See also [Starting HTTP/2 with Prior Knowledge][rfc_7540_34].
       *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:33 GMT 2024
    - 4.4K bytes
    - Viewed (0)
  10. .github/workflows/build.yml

            if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
            uses: mikepenz/action-junit-report@v4
            with:
              report_paths: '**/build/test-results/*/TEST-*.xml'
              check_name: OpenJDK 11 Test Report
    
          - name: Publish Test Results
            uses: EnricoMi/publish-unit-test-result-action@v2
            if: github.repository == 'square/okhttp' && github.ref == 'refs/heads/master'
            with:
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 01:51:50 GMT 2024
    - 17.2K bytes
    - Viewed (0)
Back to top