Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 10 of 228 for Streams (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/Connection.kt

     *
     * ## Connection Reuse
     *
     * Each connection can carry a varying number of streams, depending on the underlying protocol being
     * used. HTTP/1.x connections can carry either zero or one streams. HTTP/2 connections can carry any
     * number of streams, dynamically configured with `SETTINGS_MAX_CONCURRENT_STREAMS`. A connection
     * currently carrying zero streams is an idle stream. We keep it alive because reusing an existing
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 4.3K bytes
    - Viewed (0)
  2. guava/src/com/google/common/io/package-info.java

     * and files.
     *
     * <p>At the core of this package are the Source/Sink types: {@link ByteSource ByteSource}, {@link
     * CharSource CharSource}, {@link ByteSink ByteSink} and {@link CharSink CharSink}. They are
     * factories for I/O streams that provide many convenience methods that handle both opening and
     * closing streams for you.
     *
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Sat Dec 21 14:50:24 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  3. docs/changelogs/changelog_1x.md

     * Fix: Support Shoutcast HTTP responses like `ICY 200 OK`.
     * Fix: Don't unzip if there isn't a response body.
     * Fix: Don't leak gzip streams on redirects.
     * Fix: Don't do DNS lookups on invalid hosts.
     * Fix: Exhaust the underlying stream when reading gzip streams.
     * Fix: Support the `PATCH` method.
     * Fix: Support request bodies on `DELETE` method.
     * Fix: Drop the `okhttp-protocols` module.
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 02:19:09 UTC 2022
    - 6.4K bytes
    - Viewed (0)
  4. docs/contribute/concurrency.md

    #### Framed protocols
    
    Framed protocols like http/2 don't lend themselves to blocking APIs. Each application-layer thread wants to do blocking I/O for a specific stream, but the streams are multiplexed on the socket. You can't just talk to the socket, you need to cooperate with the other application-layer threads that you're sharing it with.
    
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sun Feb 06 16:35:36 UTC 2022
    - 7K bytes
    - Viewed (0)
  5. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Settings.kt

        for (i in 0 until COUNT) {
          if (!other.isSet(i)) continue
          set(i, other[i])
        }
      }
    
      companion object {
        /**
         * From the HTTP/2 specs, the default initial window size for all streams is 64 KiB. (Chrome 25
         * uses 10 MiB).
         */
        const val DEFAULT_INITIAL_WINDOW_SIZE = 65535
    
        /** HTTP/2: Size in bytes of the table used to decode the sender's header blocks. */
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Dec 27 13:39:56 UTC 2024
    - 3.8K bytes
    - Viewed (0)
  6. android/guava-tests/test/com/google/common/io/TestOption.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  7. guava-tests/test/com/google/common/io/TestOption.java

     * limitations under the License.
     */
    
    package com.google.common.io;
    
    import org.jspecify.annotations.NullUnmarked;
    
    /**
     * Options controlling the behavior of sources/sinks/streams for testing.
     *
     * @author Colin Decker
     */
    @NullUnmarked
    public enum TestOption {
      OPEN_THROWS,
      SKIP_THROWS,
      READ_THROWS,
      WRITE_THROWS,
      CLOSE_THROWS,
      AVAILABLE_ALWAYS_ZERO
    Registered: Fri Sep 05 12:43:10 UTC 2025
    - Last Modified: Thu Dec 19 18:03:30 UTC 2024
    - 931 bytes
    - Viewed (0)
  8. mockwebserver/src/main/kotlin/mockwebserver3/SocketHandler.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package mockwebserver3
    
    import okio.Socket
    
    /**
     * Handles a call's request and response streams directly. Use this instead of [MockResponseBody] to
     * begin sending response data before all request data has been received.
     *
     * See [okhttp3.RequestBody.isDuplex].
     */
    public interface SocketHandler {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Sat Jun 14 16:09:26 UTC 2025
    - 940 bytes
    - Viewed (0)
  9. samples/guide/src/main/java/okhttp3/recipes/PostStreamingWithPipe.java

            }
            return Integer.toString(n);
          }
        };
    
        thread.start();
      }
    
      /**
       * This request body makes it possible for another thread to stream data to the uploading request.
       * This is potentially useful for posting live event streams like video capture. Callers should
       * write to {@code sink()} and close it to complete the post.
       */
      static final class PipeBody extends RequestBody {
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Fri Jul 06 03:18:15 UTC 2018
    - 3.1K bytes
    - Viewed (0)
  10. mockwebserver/src/main/kotlin/mockwebserver3/internal/MockWebServerSocket.kt

    import okio.buffer
    
    /**
     * Adapts a [java.net.Socket] to MockWebServer's needs.
     *
     * Note that [asOkioSocket] returns a socket that closes the underlying [java.net.Socket] when both
     * of its component streams are closed. This class takes advantage of that.
     */
    internal class MockWebServerSocket(
      val javaNetSocket: Socket,
    ) : Closeable,
      BufferedSocket {
      private val delegate = javaNetSocket.asOkioSocket()
    Registered: Fri Sep 05 11:42:10 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 3.3K bytes
    - Viewed (0)
Back to top