Search Options

Results per page
Sort
Preferred Languages
Advance

Results 51 - 60 of 103 for erro (0.18 sec)

  1. 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)
  2. 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)
  3. 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)
  4. okhttp/src/main/kotlin/okhttp3/WebSocketListener.kt

       */
      open fun onClosed(
        webSocket: WebSocket,
        code: Int,
        reason: String,
      ) {
      }
    
      /**
       * Invoked when a web socket has been closed due to an error reading from or writing to the
       * network. Both outgoing and incoming messages may have been lost. No further calls to this
       * listener will be made.
       */
      open fun onFailure(
        webSocket: WebSocket,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/platform/android/Android10SocketAdapter.kt

          sslSocket.sslParameters = sslParameters
        } catch (iae: IllegalArgumentException) {
          // probably java.lang.IllegalArgumentException: Invalid input to toASCII from IDN.toASCII
          throw IOException("Android internal error", iae)
        }
      }
    
      @SuppressSignatureCheck
      companion object {
        fun buildIfSupported(): SocketAdapter? = if (isSupported()) Android10SocketAdapter() else null
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 2.8K bytes
    - Viewed (0)
  6. okhttp/src/test/java/okhttp3/ResponseJvmTest.kt

      }
    
      @Test
      fun testFailsIfTrailersNotSet() {
        val response =
          newResponse("".toResponseBody()) {
            // All live paths (Http1, Http2) in OkHttp do this
            trailers { error("trailers not available") }
          }
    
        assertFailsWith<IllegalStateException>(message = "trailers not available") {
          response.trailers()
        }
      }
    
      @Test
      fun worksIfTrailersSet() {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/AsyncDns.kt

         * May be an empty list indicating that the host is unreachable.
         */
        fun onResponse(
          hostname: String,
          addresses: List<InetAddress>,
        )
    
        /**
         * Returns an error for the DNS query.
         */
        fun onFailure(
          hostname: String,
          e: IOException,
        )
      }
    
      /**
       * Class of DNS addresses, such that clients that treat these differently, such
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 3.5K bytes
    - Viewed (0)
  8. okhttp-logging-interceptor/src/test/java/okhttp3/logging/LoggingEventListenerTest.kt

            ),
          )
          .assertLogMatch(
            Regex(
              """callFailed: \S+(?:SSLProtocolException|SSLHandshakeException|TlsFatalAlert): (?:Unexpected handshake message: client_hello|Handshake message sequence violation, 1|Read error|Handshake failed|unexpected_message\(10\)).*""",
            ),
          )
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 10.2K bytes
    - Viewed (0)
  9. mockwebserver-deprecated/src/main/kotlin/okhttp3/mockwebserver/DeprecationBridge.kt

        SocketPolicy.STALL_SOCKET_AT_START -> StallSocketAtStart
        SocketPolicy.NO_RESPONSE -> NoResponse
        SocketPolicy.RESET_STREAM_AT_START -> ResetStreamAtStart(http2ErrorCode)
        else -> error("Unexpected SocketPolicy: $socketPolicy")
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/FormBody.kt

      val size: Int
        get() = encodedNames.size
    
      @JvmName("-deprecated_size")
      @Deprecated(
        message = "moved to val",
        replaceWith = ReplaceWith(expression = "size"),
        level = DeprecationLevel.ERROR,
      )
      fun size(): Int = size
    
      fun encodedName(index: Int): String = encodedNames[index]
    
      fun name(index: Int): String = encodedName(index).percentDecode(plusIsSpace = true)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 4.3K bytes
    - Viewed (0)
Back to top