Search Options

Results per page
Sort
Preferred Languages
Advance

Results 101 - 110 of 116 for Must (0.34 sec)

  1. okhttp/src/main/kotlin/okhttp3/ConnectionSpec.kt

       *
       * For cipher suites, at least one of the [required cipher suites][cipherSuites] must match the
       * socket's enabled cipher suites. If there are no required cipher suites the socket must have at
       * least one cipher suite enabled.
       *
       * For protocols, at least one of the [required protocols][tlsVersions] must match the socket's
       * enabled protocols.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 13.4K bytes
    - Viewed (0)
  2. okhttp/src/main/resources/META-INF/proguard/okhttp3.pro

    # JSR 305 annotations are for embedding nullability information.
    -dontwarn javax.annotation.**
    
    # A resource is loaded with a relative path so the package of this class must be preserved.
    -keeppackagenames okhttp3.internal.publicsuffix.*
    -adaptresourcefilenames okhttp3/internal/publicsuffix/PublicSuffixDatabase.gz
    
    # Animal Sniffer compileOnly dependency to ensure APIs are compatible with older versions of Java.
    -dontwarn org.codehaus.mojo.animal_sniffer.*
    
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 682 bytes
    - Viewed (0)
  3. docs/changelogs/upgrading_to_okhttp_4.md

    in OkHttp 3.x and are final in 4.x. These were made non-final for use with mocking frameworks like
    [Mockito][mockito]. We believe subtyping `OkHttpClient` is the wrong way to test with OkHttp. If
    you must, mock `Call.Factory` which is the interface that `OkHttpClient` implements.
    
    #### Internal API changes
    
    The `okhttp3.internal` package is not a published API and we change it frequently without warning.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 16:58:16 GMT 2022
    - 10.9K bytes
    - Viewed (0)
  4. CONTRIBUTING.md

    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    
    Code Contributions
    ------------------
    
    Get working code on a personal branch with tests passing before you submit a PR:
    
    ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. docs/contribute/contributing.md

    [many libraries][works_with_okhttp] that sit on top or hook in via existing APIs. If you build
    something that integrates with OkHttp, tell us so that we can link it!
    
    Before code can be accepted all contributors must complete our
    [Individual Contributor License Agreement (CLA)][cla].
    
    
    Code Contributions
    ------------------
    
    Get working code on a personal branch with tests passing before you submit a PR:
    
    ```
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  6. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

        opcode: Int,
        payload: ByteString,
      ) {
        if (writerClosed) throw IOException("closed")
    
        val length = payload.size
        require(length <= PAYLOAD_BYTE_MAX) {
          "Payload size must be less than or equal to $PAYLOAD_BYTE_MAX"
        }
    
        val b0 = B0_FLAG_FIN or opcode
        sinkBuffer.writeByte(b0)
    
        var b1 = length
        if (isClient) {
          b1 = b1 or B1_FLAG_MASK
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/WebSocket.kt

        /**
         * Creates a new web socket and immediately returns it. Creating a web socket initiates an
         * asynchronous process to connect the socket. Once that succeeds or fails, `listener` will be
         * notified. The caller must either close or cancel the returned web socket when it is no longer
         * in use.
         */
        fun newWebSocket(
          request: Request,
          listener: WebSocketListener,
        ): WebSocket
      }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.3K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2ExchangeCodec.kt

            result.add(Header(TARGET_AUTHORITY, host)) // Optional.
          }
          result.add(Header(TARGET_SCHEME, request.url.scheme))
    
          for (i in 0 until headers.size) {
            // header names must be lowercase.
            val name = headers.name(i).lowercase(Locale.US)
            if (name !in HTTP_2_SKIPPED_REQUEST_HEADERS ||
              name == TE && headers.value(i) == "trailers"
            ) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 6.9K bytes
    - Viewed (0)
  9. okhttp-tls/README.md

    many as necessary with `addSubjectAlternativeName()`. This mechanism also supports a very limited
    form of wildcards `*.example.com` where the `*` must be first and doesn't match nested subdomains.
    
    By default certificates use fast and secure 256-bit ECDSA keys. For interoperability with very old
    clients use `HeldCertificate.Builder.rsa2048()`.
    
    Download
    --------
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  10. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

                evictToRecoverBytes(dynamicTableByteCount - maxDynamicTableByteCount)
              }
            }
          }
        }
    
      /**
       * An HTTP/2 response cannot contain uppercase header characters and must be treated as
       * malformed.
       */
      @Throws(IOException::class)
      fun checkLowercase(name: ByteString): ByteString {
        for (i in 0 until name.size) {
          if (name[i] in 'A'.code.toByte()..'Z'.code.toByte()) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 22.5K bytes
    - Viewed (1)
Back to top