Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 29 for Bell (0.14 sec)

  1. okhttp/src/test/java/okhttp3/UrlComponentEncodingTester.kt

          encodings[ 0x4] = encoding // End of Transmission
          encodings[ 0x5] = encoding // Enquiry
          encodings[ 0x6] = encoding // Acknowledgment
          encodings[ 0x7] = encoding // Bell
          encodings['\b'.code] = encoding // Backspace
          encodings[ 0xb] = encoding // Vertical Tab
          encodings[ 0xe] = encoding // Shift Out
          encodings[ 0xf] = encoding // Shift In
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 12.3K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/Interceptor.kt

     * or response.
     *
     * Implementations of this interface throw [IOException] to signal connectivity failures. This
     * includes both natural exceptions such as unreachable servers, as well as synthetic exceptions
     * when responses are of an unexpected type or cannot be decoded.
     *
     * Other exception types cancel the current call:
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  3. mockwebserver/src/test/java/mockwebserver3/MockResponseSniTest.kt

        assertThat(recordedRequest.handshakeServerNames).containsExactly("cash.app")
      }
    
      /**
       * Connect to [hostnameOrIpAddress] and return what was received. To fake an arbitrary hostname we
       * tell MockWebServer to act as a proxy.
       */
      private fun requestToHostnameViaProxy(hostnameOrIpAddress: String): RecordedRequest {
        val heldCertificate =
          HeldCertificate.Builder()
            .commonName("server name")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/connection/RealConnection.kt

       * requires us to have a DNS address for both hosts, which only happens after route planning. We
       * can't coalesce connections that use a proxy, since proxies don't tell us the origin server's IP
       * address.
       */
      private fun routeMatchesAny(candidates: List<Route>): Boolean {
        return candidates.any {
          it.proxy.type() == Proxy.Type.DIRECT &&
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 15.4K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/HttpUrlTest.kt

          "http://[0.0.0.0:0:0:0:0:0:1]/",
          "Invalid URL host: \"[0.0.0.0:0:0:0:0:0:1]\"",
        )
      }
    
      @Test
      fun hostIpv6WithIncompleteIpv4Suffix() {
        // To Chrome & Safari these are well-formed; Firefox disagrees. (We're consistent with Firefox).
        assertInvalid(
          "http://[0:0:0:0:0:1:255.255.255.]/",
          "Invalid URL host: \"[0:0:0:0:0:1:255.255.255.]\"",
        )
        assertInvalid(
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 67.9K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/internal/connection/ConnectPlan.kt

          isTlsFallback = isTlsFallback,
        )
      }
    
      override fun connectTcp(): ConnectResult {
        check(rawSocket == null) { "TCP already connected" }
    
        var success = false
    
        // Tell the call about the connecting call so async cancels work.
        user.addPlanToCancel(this)
        try {
          user.connectStart(route)
    
          connectSocket()
          success = true
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 18.6K bytes
    - Viewed (0)
  7. okhttp-testing-support/src/main/kotlin/okhttp3/TestValueFactory.kt

     * it easy to get sample values to use in such tests.
     *
     * This class is pretty fast and loose with default values: it attempts to provide values that are
     * well-formed, but doesn't guarantee values are internally consistent. Callers must take care to
     * configure the factory when sample values impact the correctness of the test.
     */
    class TestValueFactory : Closeable {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 7.7K bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/MockResponse.kt

         * were added by default.
         */
        fun clearHeaders() =
          apply {
            headers = Headers.Builder()
          }
    
        /**
         * Adds [header] as an HTTP header. For well-formed HTTP [header] should contain a name followed
         * by a colon and a value.
         */
        fun addHeader(header: String) =
          apply {
            headers.add(header)
          }
    
        /**
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 13.3K bytes
    - Viewed (1)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

          val pkcs8Bytes =
            pkcs8Base64Text.decodeBase64()
              ?: throw IllegalArgumentException("failed to decode private key")
    
          // The private key doesn't tell us its type but it's okay because the certificate knows!
          val keyType =
            when (certificate.publicKey) {
              is ECPublicKey -> "EC"
              is RSAPublicKey -> "RSA"
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  10. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    certificate is not included in this chain.
     *  * The client's handshake certificates must include a set of trusted root certificates. They will
     *    be used to authenticate the server's certificate chain. Typically this is a set of well-known
     *    root certificates that is distributed with the HTTP client or its platform. It may be
     *    augmented by certificates private to an organization or service.
     *
     * ### Client Authentication
     *
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
Back to top