Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 13 for Breiding (0.25 sec)

  1. okcurl/src/main/kotlin/okhttp3/curl/Main.kt

        "--connect-timeout",
        help = "Maximum time allowed for connection (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
      val readTimeout: Int by option("--read-timeout", help = "Maximum time allowed for reading data (seconds)").int().default(DEFAULT_TIMEOUT)
    
      val callTimeout: Int by option(
        "--call-timeout",
        help = "Maximum time allowed for the entire call (seconds)",
      ).int().default(DEFAULT_TIMEOUT)
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (1)
  2. .github/ISSUE_TEMPLATE/question.md

    If you want to ask how to do something, or to understand why something isn't working the way you expect it to, use Stack Overflow. https://stackoverflow.com/questions/tagged/okhttp
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Dec 30 18:42:51 GMT 2018
    - 406 bytes
    - Viewed (0)
  3. okhttp-sse/src/main/kotlin/okhttp3/sse/EventSourceListener.kt

       * TODO description.
       *
       * No further calls to this listener will be made.
       */
      open fun onClosed(eventSource: EventSource) {
      }
    
      /**
       * Invoked when an event source has been closed due to an error reading from or writing to the
       * network. Incoming events may have been lost. No further calls to this listener will be made.
       */
      open fun onFailure(
        eventSource: EventSource,
        t: Throwable?,
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 1.5K bytes
    - Viewed (1)
  4. okhttp/src/main/kotlin/okhttp3/internal/http2/Http2.kt

    import okio.ByteString.Companion.encodeUtf8
    
    object Http2 {
      @JvmField
      val CONNECTION_PREFACE = "PRI * HTTP/2.0\r\n\r\nSM\r\n\r\n".encodeUtf8()
    
      /** The initial max frame size, applied independently writing to, or reading from the peer. */
      const val INITIAL_MAX_FRAME_SIZE = 0x4000 // 16384
    
      const val TYPE_DATA = 0x0
      const val TYPE_HEADERS = 0x1
      const val TYPE_PRIORITY = 0x2
      const val TYPE_RST_STREAM = 0x3
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 5.7K bytes
    - Viewed (0)
  5. okhttp/src/main/kotlin/okhttp3/internal/connection/Exchange.kt

            throw complete(e)
          }
        }
    
        fun <E : IOException?> complete(e: E): E {
          if (completed) return e
          completed = true
          // If the body is closed without reading any bytes send a responseBodyStart() now.
          if (e == null && invokeStartEvent) {
            invokeStartEvent = false
            eventListener.responseBodyStart(call)
          }
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 9.2K bytes
    - Viewed (2)
  6. mockwebserver/src/main/kotlin/mockwebserver3/SocketPolicy.kt

       */
      object DisconnectAtEnd : SocketPolicy
    
      /**
       * Request immediate close of connection without even reading the request. Use to simulate buggy
       * SSL servers closing connections in response to unrecognized TLS extensions.
       */
      object DisconnectAtStart : SocketPolicy
    
      /**
       * Close connection after reading the request but before writing the response. Use this to
       * simulate late connection pool failures.
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Tue Jan 23 14:31:42 GMT 2024
    - 4.6K bytes
    - Viewed (0)
  7. docs/contribute/concurrency.md

    Consider an application streaming a video over http/2. Perhaps the user pauses the video and the application stops reading bytes from this stream. The buffer will fill up, and flow control prevents the server from sending more data on this stream. When the user unpauses her video the buffer drains, the read is acknowledged, and the server proceeds to stream data.
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  8. okhttp-hpacktests/src/test/java/okhttp3/internal/http2/hpackjson/HpackJsonUtil.kt

    import okio.ByteString
    import okio.ByteString.Companion.decodeHex
    import okio.FileSystem
    import okio.Path
    import okio.Path.Companion.toOkioPath
    import okio.buffer
    import okio.source
    
    /**
     * Utilities for reading HPACK tests.
     */
    object HpackJsonUtil {
      @Suppress("unused")
      private val MOSHI =
        Moshi.Builder()
          .add(
            object : Any() {
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Mon Jan 08 01:13:22 GMT 2024
    - 3.3K bytes
    - Viewed (0)
  9. docs/features/caching.md

            urlIterator.remove()
          }
        }
    ```
    
    ### Troubleshooting
    
    1. Valid cacheable responses are not being cached
    
    Make sure you are reading responses fully as unless they are read fully, cancelled or stalled Responses will not be cached.
    
    ### Overriding normal cache behaviour
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 02:19:09 GMT 2022
    - 3.1K bytes
    - Viewed (0)
  10. okhttp/src/main/kotlin/okhttp3/Call.kt

       */
      fun isExecuted(): Boolean
    
      fun isCanceled(): Boolean
    
      /**
       * Returns a timeout that spans the entire call: resolving DNS, connecting, writing the request
       * body, server processing, and reading the response body. If the call requires redirects or
       * retries all must complete within one timeout period.
       *
       * Configure the client's default timeout with [OkHttpClient.Builder.callTimeout].
       */
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Wed Dec 20 23:27:07 GMT 2023
    - 3.6K bytes
    - Viewed (0)
Back to top