Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 31 for roles (0.02 sec)

  1. okhttp/src/jvmTest/kotlin/okhttp3/RequestTest.kt

      }
    
      @Test
      fun curlPostWithComplexBody() {
        val jsonBody =
          """
          |{
          |  "user": {
          |    "id": 123,
          |    "name": "Tim O'Reilly"
          |  },
          |  "roles": ["admin", "editor"],
          |  "active": true
          |}
          |
          """.trimMargin()
    
        val body = jsonBody.toRequestBody("application/json".toMediaType())
    
        val request =
          Request
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Fri Oct 24 11:36:14 UTC 2025
    - 24.4K bytes
    - Viewed (0)
  2. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

     * intermediate certificate, "Entrust Certification Authority - L1M". The intermediate certificate
     * is used to verify the signature of the "www.squareup.com" certificate.
     *
     * This roles are reversed for client authentication. In that case the client has a private key and
     * a chain of certificates. The server uses a set of trusted root certificates to authenticate the
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Mar 19 19:25:20 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_3x.md

        it keeps your `HeldCertificate` and its chain. On the client it keeps the root certificates
        that are trusted to sign a server's certificate chain. `HandshakeCertificates` also works with
        mutual TLS where these roles are reversed.
    
        These classes make it possible to enable HTTPS in MockWebServer in [just a few lines of
        code][https_server_sample].
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 14:55:54 UTC 2022
    - 50.8K bytes
    - Viewed (0)
  4. android-test-app/proguard-rules.pro

    # no rules should be needed
    
    -whyareyoukeeping class okhttp3.internal.idn.IdnaMappingTable {
      *;
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Aug 03 19:38:06 UTC 2025
    - 100 bytes
    - Viewed (0)
  5. android-test-app/test-proguard-rules.pro

    Yuri Schimke <******@****.***> 1703342811 +0000
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Dec 23 14:46:51 UTC 2023
    - 13 bytes
    - Viewed (0)
  6. docs/features/r8_proguard.md

    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.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sat Jul 19 07:07:23 UTC 2025
    - 570 bytes
    - Viewed (0)
  7. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

            if (rule != null) {
              wildcardMatch = rule
              break
            }
          }
        }
    
        // Exception rules only apply to wildcard rules, so only try it if we matched a wildcard.
        var exception: String? = null
        if (wildcardMatch != null) {
          for (labelIndex in 0 until domainLabelsUtf8Bytes.size - 1) {
            val rule =
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Mon Jul 28 07:33:49 UTC 2025
    - 8.5K bytes
    - Viewed (0)
  8. okhttp/src/jvmTest/kotlin/okhttp3/internal/publicsuffix/PublicSuffixListGenerator.kt

        }
    
      /**
       * These assertions ensure the [PublicSuffixDatabase] remains correct. The specification is
       * very flexible regarding wildcard rules, but this flexibility is not something currently used
       * in practice. To simplify the implementation, we've avoided implementing the flexible rules in
       * favor of supporting what's actually used in practice. That means if these assertions ever fail,
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Wed Aug 06 05:33:11 UTC 2025
    - 6.1K bytes
    - Viewed (0)
  9. docs/contribute/concurrency.md

    Framing rules make it impractical to implement http/2 correctly on a single blocking thread. The flow-control features introduce feedback between reads and writes, requiring writes to acknowledge reads and reads to throttle writes.
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  10. okhttp/src/jvmTest/kotlin/okhttp3/FastFallbackTest.kt

     */
    @Timeout(30)
    class FastFallbackTest {
      @RegisterExtension
      val clientTestRule = OkHttpClientTestRule()
    
      // Don't use JUnit 5 test rules for these; otherwise we can't bind them to a single local IP.
      private lateinit var localhostIpv4: InetAddress
      private lateinit var localhostIpv6: InetAddress
      private lateinit var serverIpv4: MockWebServer
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Nov 04 19:13:52 UTC 2025
    - 10.6K bytes
    - Viewed (0)
Back to top