Search Options

Results per page
Sort
Preferred Languages
Advance

Results 11 - 20 of 22 for Tools (0.15 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http/RetryAndFollowUpInterceptor.kt

      }
    
      private fun retryAfter(
        userResponse: Response,
        defaultDelay: Int,
      ): Int {
        val header = userResponse.header("Retry-After") ?: return defaultDelay
    
        // https://tools.ietf.org/html/rfc7231#section-7.1.3
        // currently ignores a HTTP-date, and assumes any non int 0 is a delay
        if (header.matches("\\d+".toRegex())) {
          return Integer.valueOf(header)
        }
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12.1K bytes
    - Viewed (4)
  2. okhttp/src/main/kotlin/okhttp3/internal/ws/WebSocketReader.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    
    /**
     * An [RFC 6455][rfc_6455]-compatible WebSocket frame reader.
     *
     * This class is not thread safe.
     *
     * [rfc_6455]: http://tools.ietf.org/html/rfc6455
     */
    class WebSocketReader(
      private val isClient: Boolean,
      val source: BufferedSource,
      private val frameCallback: FrameCallback,
      private val perMessageDeflate: Boolean,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.8K bytes
    - Viewed (0)
  3. okhttp/src/main/kotlin/okhttp3/internal/cache/CacheStrategy.kt

            }
    
            HTTP_MOVED_TEMP,
            HTTP_TEMP_REDIRECT,
            -> {
              // These codes can only be cached with the right response headers.
              // http://tools.ietf.org/html/rfc7234#section-3
              // s-maxage is not checked because OkHttp is a private cache that should ignore s-maxage.
              if (response.header("Expires") == null &&
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Apr 15 13:24:48 GMT 2024
    - 12K bytes
    - Viewed (0)
  4. okhttp/src/main/kotlin/okhttp3/CipherSuite.kt

        // @JvmField val TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256 = init("TLS_RSA_PSK_WITH_CHACHA20_POLY1305_SHA256", 0xccae)
    
        // TLS 1.3 https://tools.ietf.org/html/rfc8446
        @JvmField val TLS_AES_128_GCM_SHA256 = init("TLS_AES_128_GCM_SHA256", 0x1301)
    
        @JvmField val TLS_AES_256_GCM_SHA384 = init("TLS_AES_256_GCM_SHA384", 0x1302)
    
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 39.9K bytes
    - Viewed (1)
  5. okhttp/src/main/kotlin/okhttp3/Cookie.kt

    import okhttp3.internal.publicsuffix.PublicSuffixDatabase
    import okhttp3.internal.toCanonicalHost
    import okhttp3.internal.trimSubstring
    import org.codehaus.mojo.animal_sniffer.IgnoreJRERequirement
    
    /**
     * An [RFC 6265](http://tools.ietf.org/html/rfc6265) Cookie.
     *
     * This class doesn't support additional attributes on cookies, like
     * [Chromium's Priority=HIGH extension][chromium_extension].
     *
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Sat Apr 06 04:12:05 GMT 2024
    - 23.1K bytes
    - Viewed (0)
  6. CHANGELOG.md

    [okio_3_2_0]: https://square.github.io/okio/changelog/#version-320
    [okio_3_7_0]: https://square.github.io/okio/changelog/#version-370
    [okio_3_9_0]: https://square.github.io/okio/changelog/#version-390
    [rfc_8305]: https://tools.ietf.org/html/rfc8305
    [uts46]: https://www.unicode.org/reports/tr46
    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)
  7. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2Connection.kt

      internal val listener: Listener = builder.listener
      internal val streams = mutableMapOf<Int, Http2Stream>()
      internal val connectionName: String = builder.connectionName
      internal var lastGoodStreamId = 0
    
      /** http://tools.ietf.org/html/draft-ietf-httpbis-http2-17#section-5.1.1 */
      internal var nextStreamId = if (builder.client) 3 else 2
    
      private var isShutdown = false
    
      /** For scheduling everything asynchronous. */
    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)
  8. docs/changelogs/changelog_2x.md

    ## Version 1.x
    
    [Change log](changelog_1x.md)
    
    
     [brick]: https://noncombatant.org/2015/05/01/about-http-public-key-pinning/
     [interceptors]: https://square.github.io/okhttp/interceptors/
    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)
  9. okhttp/src/main/kotlin/okhttp3/internal/http2/Hpack.kt

    import okio.Buffer
    import okio.BufferedSource
    import okio.ByteString
    import okio.Source
    import okio.buffer
    
    /**
     * Read and write HPACK v10.
     *
     * http://tools.ietf.org/html/draft-ietf-httpbis-header-compression-12
     *
     * This implementation uses an array for the dynamic table and a list for indexed entries. Dynamic
    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)
  10. okhttp-dnsoverhttps/src/main/kotlin/okhttp3/dnsoverhttps/DnsOverHttps.kt

     * > using either the HTTP GET or POST method and the other requirements
     * > of this section.  The DNS API server defines the URI used by the
     * > request through the use of a URI Template.
     *
     * [doh_spec]: https://tools.ietf.org/html/draft-ietf-doh-dns-over-https-13
     */
    class DnsOverHttps internal constructor(
      @get:JvmName("client") val client: OkHttpClient,
      @get:JvmName("url") val url: HttpUrl,
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Fri Mar 22 07:09:21 GMT 2024
    - 9.8K bytes
    - Viewed (0)
Back to top