Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 31 for Optional (0.15 sec)

  1. okhttp-testing-support/src/main/resources/META-INF/proguard/okhttp3.pro

    # OkHttp test platform rules uses optional classes.
    Others
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Dec 23 14:46:51 GMT 2023
    - 65 bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/internal/http1/Http1ExchangeCodec.kt

            if (bytesRemainingInChunk < 0L || extensions.isNotEmpty() && !extensions.startsWith(";")) {
              throw ProtocolException(
                "expected chunk size and optional extensions" +
                  " but was \"$bytesRemainingInChunk$extensions\"",
              )
            }
          } catch (e: NumberFormatException) {
            throw ProtocolException(e.message)
          }
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 16.2K bytes
    - Viewed (0)
  3. build.gradle.kts

        if (project.name == "okhttp-testing-support") return@dependencies
    
        if (project.name == "mockwebserver3-junit5") {
          // JUnit 5's APIs need java.util.function.Function and java.util.Optional from API 24.
          signature(rootProject.libs.signature.android.apilevel24) { artifact { type = "signature" } }
        } else {
          // Everything else requires Android API 21+.
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:32:42 GMT 2024
    - 8.9K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/PushObserver.kt

     *
     * While [onReset] may occur at any time, the following callbacks are expected in order,
     * correlated by stream ID.
     *
     *  * [onRequest]
     *  * [onHeaders] (unless canceled)
     *  * [onData] (optional sequence of data frames)
     *
     * As a stream ID is scoped to a single HTTP/2 connection, implementations which target multiple
     * connections should expect repetition of stream IDs.
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.6K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/RoutePlanner.kt

      /** Returns a plan to attempt. */
      @Throws(IOException::class)
      fun plan(): Plan
    
      /**
       * Returns true if there's more route plans to try.
       *
       * @param failedConnection an optional connection that was resulted in a failure. If the failure
       *     is recoverable, the connection's route may be recovered for the retry.
       */
      fun hasNext(failedConnection: RealConnection? = null): Boolean
    
      /**
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 4.2K bytes
    - Viewed (0)
  6. okhttp/src/main/kotlin/okhttp3/Cache.kt

         * length of the local certificate chain. These certificates are also base64-encoded and appear
         * each on their own line. A length of -1 is used to encode a null array. The last line is
         * optional. If present, it contains the TLS version.
         */
        @Throws(IOException::class)
        constructor(rawSource: Source) {
          rawSource.use {
            val source = rawSource.buffer()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 26.8K bytes
    - Viewed (0)
  7. okhttp-tls/src/main/kotlin/okhttp3/tls/internal/der/Adapters.kt

       * Returns a composite adapter for a struct or data class. This may be used for both SEQUENCE and
       * SET types.
       *
       * The fields are specified as a list of member adapters. When decoding, a value for each
       * non-optional member but be included in sequence.
       *
       * TODO: for sets, sort by tag when encoding.
       * TODO: for set ofs, sort by encoded value when encoding.
       */
      fun <T> sequence(
        name: String,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15K bytes
    - Viewed (0)
  8. okhttp/src/main/kotlin/okhttp3/HttpUrl.kt

     *
     * ### Query
     *
     * The query is optional: it can be null, empty, or non-empty. For many HTTP URLs the query string
     * is subdivided into a collection of name-value parameters. This class offers methods to set the
     * query as the single string, or as individual name-value parameters. With name-value parameters
     * the values are optional and names may be repeated.
     *
     * ### Fragment
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 09 12:33:05 GMT 2024
    - 63.5K bytes
    - Viewed (1)
  9. okhttp-tls/src/main/kotlin/okhttp3/tls/HandshakeCertificates.kt

     *    augmented by certificates private to an organization or service.
     *
     * ### Client Authentication
     *
     * This is authentication of the client by the server during the TLS handshake. Client
     * authentication is optional.
     *
     * To perform client authentication:
     *
     *  * The client's handshake certificates must have a [held certificate][HeldCertificate] (a
    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. CHANGELOG.md

    | com.squareup.okhttp3:mockwebserver3-junit4:5.0.0-alpha.2 | mockwebserver3.junit4 | Optional JUnit 4 integration.     |
    | com.squareup.okhttp3:mockwebserver3-junit5:5.0.0-alpha.2 | mockwebserver3.junit5 | Optional JUnit 5 integration.     |
    | com.squareup.okhttp3:mockwebserver:5.0.0-alpha.2         | okhttp3.mockwebserver | Obsolete. Depends on JUnit 4.     |
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 18 01:31:39 GMT 2024
    - 21.4K bytes
    - Viewed (0)
Back to top