Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for Bell (0.18 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

    private val TYPE_SUBTYPE = Regex("$TOKEN/$TOKEN")
    private val PARAMETER = Regex(";\\s*(?:$TOKEN=(?:$TOKEN|$QUOTED))?")
    
    /**
     * Returns a media type for this string.
     *
     * @throws IllegalArgumentException if this is not a well-formed media type.
     */
    internal fun String.commonToMediaType(): MediaType {
      val typeSubtype: MatchResult =
        TYPE_SUBTYPE.matchAtPolyfill(this, 0)
          ?: throw IllegalArgumentException("No subtype found for: \"$this\"")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.1K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/MediaType.kt

        /**
         * Returns a media type for this string.
         *
         * @throws IllegalArgumentException if this is not a well-formed media type.
         */
        @JvmStatic
        @JvmName("get")
        fun String.toMediaType(): MediaType = commonToMediaType()
    
        /** Returns a media type for this, or null if this is not a well-formed media type. */
        @JvmStatic
        @JvmName("parse")
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 4.2K bytes
    - Viewed (0)
  3. okhttp-tls/README.md

    signs the other party's chain.
    
    Well-Known Certificate Authorities
    ----------------------------------
    
    In these examples we've prearranged which root certificates to trust. But for regular HTTPS on the
    Internet this set of trusted root certificates is usually provided by default by the host platform.
    Such a set typically includes many root certificates from well-known certificate authorities like
    Entrust and Verisign.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 17 15:34:10 GMT 2023
    - 9.1K bytes
    - Viewed (1)
  4. CONTRIBUTING.md

    If you have a new feature idea, please build it in an external library. There are
    [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
    ------------------
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (0)
  5. docs/contribute/contributing.md

    If you have a new feature idea, please build it in an external library. There are
    [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
    ------------------
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Feb 14 08:26:50 GMT 2023
    - 2K bytes
    - Viewed (1)
  6. 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)
  7. 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)
  8. 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)
  9. 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)
  10. okhttp/src/main/kotlin/okhttp3/RequestBody.kt

       * designed for this nonstandard interaction will use it. As of 2019-01, the only widely-used
       * implementation of this pattern is [gRPC][grpc].
       *
       * Because the encoding of interleaved data is not well-defined for HTTP/1, duplex request
       * bodies may only be used with HTTP/2. Calls to HTTP/1 servers will fail before the HTTP request
       * is transmitted. If you cannot ensure that your client and server both support HTTP/2, do not
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Thu Jan 25 14:41:37 GMT 2024
    - 9.6K bytes
    - Viewed (0)
Back to top