Search Options

Results per page
Sort
Preferred Languages
Advance

Results 41 - 50 of 99 for error (0.14 sec)

  1. okhttp-tls/src/main/kotlin/okhttp3/tls/HeldCertificate.kt

        replaceWith = ReplaceWith(expression = "certificate"),
        level = DeprecationLevel.ERROR,
      )
      fun certificate(): X509Certificate = certificate
    
      @JvmName("-deprecated_keyPair")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "keyPair"),
        level = DeprecationLevel.ERROR,
      )
      fun keyPair(): KeyPair = keyPair
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 21.6K bytes
    - Viewed (1)
  2. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Writer.kt

        flags: Int,
      ) {
        if (type != TYPE_WINDOW_UPDATE && logger.isLoggable(FINE)) {
          logger.fine(frameLog(false, streamId, length, type, flags))
        }
        require(length <= maxFrameSize) { "FRAME_SIZE_ERROR length > $maxFrameSize: $length" }
        require(streamId and 0x80000000.toInt() == 0) { "reserved bit set: $streamId" }
        sink.writeMedium(length)
        sink.writeByte(type and 0xff)
        sink.writeByte(flags and 0xff)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 11.3K bytes
    - Viewed (0)
  3. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    http://%30%78%63%30%2e%30%32%35%30.01  s:http p:/ h:192.168.0.1
    http://%30%78%63%30%2e%30%32%35%30.01%2e  s:http p:/ h:0xc0.0250.01.
    http://192.168.0.257
    
    # Invalid escaping should trigger the regular host error handling.
    http://%3g%78%63%30%2e%30%32%35%30%2E.01
    
    # Something that isn't exactly an IP should get treated as a host and
    # spaces escaped.
    http://192.168.0.1\shello
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 14.3K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/ErrorCode.kt

    enum class ErrorCode constructor(val httpCode: Int) {
      /** Not an error!  */
      NO_ERROR(0),
    
      PROTOCOL_ERROR(1),
    
      INTERNAL_ERROR(2),
    
      FLOW_CONTROL_ERROR(3),
    
      SETTINGS_TIMEOUT(4),
    
      STREAM_CLOSED(5),
    
      FRAME_SIZE_ERROR(6),
    
      REFUSED_STREAM(7),
    
      CANCEL(8),
    
      COMPRESSION_ERROR(9),
    
      CONNECT_ERROR(0xa),
    
      ENHANCE_YOUR_CALM(0xb),
    
      INADEQUATE_SECURITY(0xc),
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.2K bytes
    - Viewed (0)
  5. okhttp/src/test/java/okhttp3/PublicInternalApiTest.kt

    import okhttp3.internal.http.hasBody
    import org.junit.jupiter.api.Assertions.assertFalse
    import org.junit.jupiter.api.Assertions.assertTrue
    import org.junit.jupiter.api.Test
    
    @Suppress("DEPRECATION_ERROR")
    class PublicInternalApiTest {
      @Test
      fun permitsRequestBody() {
        assertTrue(permitsRequestBody("POST"))
        assertFalse(permitsRequestBody("GET"))
      }
    
      @Test
      fun requiresRequestBody() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (0)
  6. okhttp-idna-mapping-table/src/main/kotlin/okhttp3/internal/idn/MappingTables.kt

                }
              }
    
            TYPE_IGNORED, TYPE_VALID, TYPE_DISALLOWED -> {
              MappedRange.Constant(rangeStart, mapping.type)
            }
    
            else -> error("unexpected mapping type: ${mapping.type}")
          }
      }
    
      for (sectionList in result.values) {
        mergeAdjacentDeltaMappedRanges(sectionList)
      }
    
      return result.toMap()
    }
    
    /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.2K bytes
    - Viewed (0)
  7. okhttp/src/test/java/okhttp3/ConnectionListenerTest.kt

        val event = listener.removeUpToEvent(ConnectionEvent.ConnectFailed::class.java)
        assertThat(event.route.socketAddress).isEqualTo(expectedAddress)
    
        // Read error: ssl=0x7fd1d8d0fee8: Failure in SSL library, usually a protocol error
        if (!platform.isConscrypt()) {
          assertThat(event.exception).hasMessage("Unexpected handshake message: client_hello")
        }
      }
    
      @Test
      @Throws(IOException::class)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.6K bytes
    - Viewed (0)
  8. kotlin-js-store/yarn.lock

      integrity sha512-ejAj9hfRJ2XMsNHk/v6Fu2dGS+i4UaXBXGemOfQ/JfQ6mdQg/WXtwleQRLLS4OvfDhv8rYnVwH27YJLMyYsxhw==
    
    "@webassemblyjs/helper-api-error@1.11.6":
      version "1.11.6"
      resolved "https://registry.yarnpkg.com/@webassemblyjs/helper-api-error/-/helper-api-error-1.11.6.tgz#6132f68c4acd59dcd141c44b18cbebbd9f2fa768"
      integrity sha512-o0YkoP4pVu4rN8aTJgAyj9hC2Sv5UlkzCHhxqWj8butaLvnpdc2jOwh4ewE6CX0txSfLn/UYaV/pheS2Txg//Q==
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jul 22 12:28:51 GMT 2023
    - 87.4K bytes
    - Viewed (0)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

        replaceWith = ReplaceWith(expression = "keyManager"),
        level = DeprecationLevel.ERROR,
      )
      fun keyManager(): X509KeyManager = keyManager
    
      @JvmName("-deprecated_trustManager")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "trustManager"),
        level = DeprecationLevel.ERROR,
      )
      fun trustManager(): X509TrustManager = trustManager
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 8.5K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/Address.kt

        message = "moved to val",
        replaceWith = ReplaceWith(expression = "url"),
        level = DeprecationLevel.ERROR,
      )
      fun url(): HttpUrl = url
    
      @JvmName("-deprecated_dns")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "dns"),
        level = DeprecationLevel.ERROR,
      )
      fun dns(): Dns = dns
    
      @JvmName("-deprecated_socketFactory")
      @Deprecated(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 7.4K bytes
    - Viewed (0)
Back to top