Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 11 for parare (0.23 sec)

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

         */
        @JvmStatic
        @JvmName("of")
        fun headersOf(vararg namesAndValues: String): Headers = commonHeadersOf(*namesAndValues)
    
        @JvmName("-deprecated_of")
        @Deprecated(
          message = "function name changed",
          replaceWith = ReplaceWith(expression = "headersOf(*namesAndValues)"),
          level = DeprecationLevel.ERROR,
        )
        fun of(vararg namesAndValues: String): Headers {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.5K bytes
    - Viewed (0)
  2. okhttp/src/main/kotlin/okhttp3/CertificatePinner.kt

         * Pins certificates for `pattern`.
         *
         * @param pattern lower-case host name or wildcard pattern such as `*.example.com`.
         * @param pins SHA-256 or SHA-1 hashes. Each pin is a hash of a certificate's Subject Public Key
         *     Info, base64-encoded and prefixed with either `sha256/` or `sha1/`.
         */
        fun add(
          pattern: String,
          vararg pins: String,
        ) = apply {
          for (pin in pins) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 14.2K bytes
    - Viewed (1)
  3. okhttp/src/test/java/okhttp3/internal/tls/ClientAuthTest.kt

          "ConnectStart",
          "SecureConnectStart",
        )
        assertThat(recordedEventTypes).endsWith("CallFailed")
      }
    
      private fun buildClient(
        heldCertificate: HeldCertificate?,
        vararg intermediates: X509Certificate,
      ): OkHttpClient {
        val builder =
          HandshakeCertificates.Builder()
            .addTrustedCertificate(serverRootCa.certificate)
        if (heldCertificate != null) {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Jan 14 10:20:09 GMT 2024
    - 12.5K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/Response.kt

       *
       * If a challenge uses the `token68` variant instead of auth params, there is exactly one
       * auth param in the challenge at key null. Invalid headers and challenges are ignored.
       * No semantic validation is done, for example that `Basic` auth must have a `realm`
       * auth param, this is up to the caller that interprets these challenges.
       */
      fun challenges(): List<Challenge> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 15.5K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/Cache.kt

     *         .maxStale(365, TimeUnit.DAYS)
     *         .build())
     *     .url("http://publicobject.com/helloworld.txt")
     *     .build();
     * ```
     *
     * The [CacheControl] class can configure request caching directives and parse response caching
     * directives. It even offers convenient constants [CacheControl.FORCE_NETWORK] and
     * [CacheControl.FORCE_CACHE] that address the use cases above.
     *
     * [rfc_7234]: http://tools.ietf.org/html/rfc7234
     */
    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)
  6. okhttp/src/test/java/okhttp3/RouteFailureTest.kt

    import okhttp3.testing.PlatformRule
    import org.junit.jupiter.api.BeforeEach
    import org.junit.jupiter.api.Test
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ValueSource
    
    class RouteFailureTest {
      private lateinit var socketFactory: SpecificHostSocketFactory
      private lateinit var client: OkHttpClient
    
      @RegisterExtension
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 11.9K bytes
    - Viewed (0)
  7. okhttp/src/main/kotlin/okhttp3/Request.kt

        open fun <T> tag(
          type: Class<in T>,
          tag: T?,
        ) = commonTag(type.kotlin, tag)
    
        /**
         * Override the [Request.url] for caching, if it is either polluted with
         * transient query params, or has a canonical URL possibly for a CDN.
         *
         * Note that POST requests will not be sent to the server if this URL is set
         * and matches a cached response.
         */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:17:44 GMT 2024
    - 10.5K bytes
    - Viewed (0)
  8. okhttp/src/test/resources/web-platform-test-urltestdata.txt

    # FORMAT NOT DOCUMENTED YET (parser is urltestparser.js)
    
    # Based on http://trac.webkit.org/browser/trunk/LayoutTests/fast/url/script-tests/segments.js
    http://example\t.\norg http://example.org/foo/bar s:http h:example.org p:/
    http://user:pass@foo:21/bar;par?b#c  s:http u:user pass:pass h:foo port:21 p:/bar;par q:?b f:#c
    http:foo.com  s:http h:example.org p:/foo/foo.com
    \t\s\s\s:foo.com\s\s\s\n  s:http h:example.org p:/foo/:foo.com
    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)
  9. okhttp/src/test/java/okhttp3/CookieTest.kt

      @Test fun invalidCharacters() {
        assertThat(parse(url, "a\u0000b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0000d")).isNull()
        assertThat(parse(url, "a\u0001b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0001d")).isNull()
        assertThat(parse(url, "a\u0009b=cd")).isNull()
        assertThat(parse(url, "ab=c\u0009d")).isNull()
        assertThat(parse(url, "a\u001fb=cd")).isNull()
        assertThat(parse(url, "ab=c\u001fd")).isNull()
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 24.3K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/internal/http/CancelTest.kt

    import org.junit.jupiter.api.Assertions.assertEquals
    import org.junit.jupiter.api.Tag
    import org.junit.jupiter.api.Timeout
    import org.junit.jupiter.api.extension.RegisterExtension
    import org.junit.jupiter.params.ParameterizedTest
    import org.junit.jupiter.params.provider.ArgumentsSource
    
    @Timeout(30)
    @Tag("Slow")
    class CancelTest {
      @JvmField @RegisterExtension
      val platform = PlatformRule()
    
      lateinit var cancelMode: CancelMode
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Jan 20 10:30:28 GMT 2024
    - 9.9K bytes
    - Viewed (0)
Back to top