Search Options

Results per page
Sort
Preferred Languages
Advance

Results 31 - 40 of 53 for Staken (0.18 sec)

  1. CHANGELOG.md

     *  Fix: Don't crash if a cookie's value is a lone double quote character.
     *  Fix: Don't crash when canceling an event source created by `EventSources.processResponse()`.
     *  New: `Cache` now has a public constructor that takes an [okio.FileSystem]. This should make it
        possible to implement decorators for cache encryption or compression.
     *  New: `Cookie.newBuilder()` to build upon an existing cookie.
    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)
  2. docs/changelogs/changelog_2x.md

        timing out, and that was a lousy policy. If establishing a connection,
        reading the next byte from a connection, or writing the next byte to a
        connection takes more than 10 seconds to complete, you’ll need to adjust
        the timeouts manually.
    
     *  **OkHttp now rejects request headers that contain invalid characters.** This
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 26.6K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

        @Throws(IOException::class)
        abstract fun onStream(stream: Http2Stream)
    
        /**
         * Notification that the connection's peer's settings may have changed to [settings].
         * Implementations should take appropriate action to handle the updated settings.
         *
         * Methods to this method may be made concurrently with [onStream]. But a calls to this method
         * are serialized.
         */
        open fun onSettings(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 32.6K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/OkHttpClient.kt

            if (dns != this.dns) {
              this.routeDatabase = null
            }
            this.dns = dns
          }
    
        /**
         * Sets the HTTP proxy that will be used by connections created by this client. This takes
         * precedence over [proxySelector], which is only honored when this proxy is null (which it is
         * by default). To disable proxy use completely, call `proxy(Proxy.NO_PROXY)`.
         */
        fun proxy(proxy: Proxy?) =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:21:33 GMT 2024
    - 52K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/-MediaTypeCommon.kt

          continue
        }
    
        val token = parameter.groups[2]?.value
        val value =
          when {
            token == null -> {
              // Value is "double-quoted". That's valid and our regex group already strips the quotes.
              parameter.groups[3]!!.value
            }
            token.startsWith("'") && token.endsWith("'") && token.length > 2 -> {
    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)
  6. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Stream.kt

      /** The total number of bytes permitted to be produced by incoming `WINDOW_UPDATE` frame. */
      var writeBytesMaximum: Long = connection.peerSettings.initialWindowSize.toLong()
        internal set
    
      /** Received headers yet to be [taken][takeHeaders]. */
      private val headersQueue = ArrayDeque<Headers>()
    
      /** True if response headers have been sent or received. */
      private var hasResponseHeaders: Boolean = false
    
      internal val source =
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 20 17:03:43 GMT 2024
    - 23.2K bytes
    - Viewed (1)
  7. samples/guide/src/main/java/okhttp3/recipes/kt/WiresharkExample.kt

    /**
     * Logs SSL keys to a log file, allowing Wireshark to decode traffic and be examined with http2
     * filter. The approach is to hook into JSSE log events for the messages between client and server
     * during handshake, and then take the agreed masterSecret from private fields of the session.
     *
     * Copy WireSharkKeyLoggerListener to your test code to use in development.
     *
     * This logs TLSv1.2 on a JVM (OpenJDK 11+) without any additional code.  For TLSv1.3
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 10.7K bytes
    - Viewed (1)
  8. okhttp/src/main/kotlin/okhttp3/EventListener.kt

       * canceled. For example, happy-path events like [requestHeadersStart] and [requestHeadersEnd] may
       * occur after a call is canceled. Typically cancellation takes effect when an expensive I/O
       * operation is required.
       *
       * This is invoked at most once, even if [Call.cancel] is invoked multiple times. It may be
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 15.2K bytes
    - Viewed (0)
  9. okhttp/src/main/kotlin/okhttp3/internal/publicsuffix/PublicSuffixDatabase.kt

          if (rule[0][0] == EXCEPTION_MARKER) {
            // Exception rules hold the effective TLD plus one.
            domainLabels.size - rule.size
          } else {
            // Otherwise the rule is for a public suffix, so we must take one more label.
            domainLabels.size - (rule.size + 1)
          }
    
        return splitDomain(domain).asSequence().drop(firstLabelOffset).joinToString(".")
      }
    
      private fun splitDomain(domain: String): List<String> {
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 11.7K bytes
    - Viewed (0)
  10. okhttp/src/test/java/okhttp3/CacheTest.kt

        assertThat(response.cacheResponse!!.request.url).isEqualTo(request.url)
      }
    
      @Test
      fun postWithOverrideResponse() {
        val url = server.url("/abc?token=123")
        val cacheUrlOverride = url.newBuilder().removeAllQueryParameters("token").build()
    
        val request =
          Request.Builder()
            .url(url)
            .method("POST", "XYZ".toRequestBody())
            .cacheUrlOverride(cacheUrlOverride)
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top