Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 64 for intro (0.14 sec)

  1. mockwebserver-junit5/src/main/kotlin/mockwebserver3/junit5/internal/MockWebServerExtension.kt

     *
     * Specifically while junit instances passes into test constructor
     * are typically shares amongst all tests, a fresh instance will be
     * received here. Use with @BeforeAll and @AfterAll, is not supported.
     *
     * There are 3 ids for instances
     * - The test instance default (passed into constructor)
     * - The test lifecycle default (passed into test method, plus @BeforeEach, @AfterEach)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 11 12:12:36 GMT 2024
    - 4.1K bytes
    - Viewed (0)
  2. docs/features/r8_proguard.md

    R8 / ProGuard
    =============
    
    If you use OkHttp as a dependency in an Android project which uses R8 as a default compiler you
    don't have to do anything. The specific rules are [already bundled][okhttp3_pro] into the JAR which can be
    interpreted by R8 automatically.
    
    If you, however, don't use R8 you have to apply the rules from [this file][okhttp3_pro]. You might
    also need rules from [Okio][okio] which is a dependency of this library.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 607 bytes
    - Viewed (0)
  3. okcurl/build.gradle.kts

      id("com.palantir.graal")
      id("com.github.johnrengelman.shadow")
    }
    
    val copyResourcesTemplates = tasks.register<Copy>("copyResourcesTemplates") {
      from("src/main/resources-templates")
      into("$buildDir/generated/resources-templates")
      expand("projectVersion" to "${project.version}")
      filteringCharset = Charsets.UTF_8.toString()
    }
    
    kotlin {
      sourceSets {
        val main by getting {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 1.8K bytes
    - Viewed (1)
  4. okhttp/src/test/java/okhttp3/TestTls13Request.kt

        CipherSuite.TLS_AES_128_CCM_SHA256,
        CipherSuite.TLS_AES_128_CCM_8_SHA256,
      )
    
    /**
     * A TLS 1.3 only Connection Spec. This will be eventually be exposed
     * as part of MODERN_TLS or folded into the default OkHttp client once published and
     * available in JDK11 or Conscrypt.
     */
    private val TLS_13 =
      ConnectionSpec.Builder(true)
        .cipherSuites(*TLS13_CIPHER_SUITES.toTypedArray())
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3K bytes
    - Viewed (0)
  5. mockwebserver/src/main/kotlin/mockwebserver3/RecordedRequest.kt

    import okhttp3.Headers
    import okhttp3.HttpUrl
    import okhttp3.HttpUrl.Companion.toHttpUrlOrNull
    import okhttp3.internal.platform.Platform
    import okio.Buffer
    
    /** An HTTP request that came into the mock web server. */
    @ExperimentalOkHttpApi
    class RecordedRequest(
      val requestLine: String,
      /** All headers. */
      val headers: Headers,
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.8K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Settings.kt

      }
    
      fun getMaxHeaderListSize(defaultValue: Int): Int {
        val bit = 1 shl MAX_HEADER_LIST_SIZE
        return if (bit and set != 0) values[MAX_HEADER_LIST_SIZE] else defaultValue
      }
    
      /**
       * Writes `other` into this. If any setting is populated by this and `other`, the
       * value and flags from `other` will be kept.
       */
      fun merge(other: Settings) {
        for (i in 0 until COUNT) {
          if (!other.isSet(i)) continue
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.8K bytes
    - Viewed (0)
  7. docs/contribute/concurrency.md

    Since HTTP requests frequently happen in parallel, connection pooling must be thread-safe.
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/tls/OkHostnameVerifier.kt

          pattern.startsWith(".") ||
          pattern.endsWith("..")
        ) {
          // Invalid pattern.
          return false
        }
    
        // Normalize hostname and pattern by turning them into absolute domain names if they are not
        // yet absolute. This is needed because server certificates do not normally contain absolute
        // names or patterns, but they should be treated as absolute. At the same time, any hostname
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 14:55:09 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/Headers.kt

       * ```
       *
       * 4. Different values
       *
       * ```
       * Content-Type: text/html
       * Content-Length: 050
       * ```
       *
       * Applications that require semantically equal headers should convert them into a canonical form
       * before comparing them for equality.
       */
      override fun equals(other: Any?): Boolean = commonEquals(other)
    
      override fun hashCode(): Int = commonHashCode()
    
      /**
    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)
  10. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

     *   at okhttp3.Connection.connect(Connection.java)
     *   at okhttp3.Connection.connectAndSetOwner(Connection.java)
     * ```
     *
     * Follow up by pasting the public key hashes from the exception into the
     * certificate pinner's configuration:
     *
     * ```java
     * CertificatePinner certificatePinner = new CertificatePinner.Builder()
     *     .add("publicobject.com", "sha256/afwiKY3RxoMmLkuRW1l7QsPZTJPwDS2pdDROQjXw8ig=")
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
Back to top