Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 6 of 6 for outbound (0.04 sec)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/WebSocketWriter.kt

      val sink: BufferedSink,
      val random: Random,
      private val perMessageDeflate: Boolean,
      private val noContextTakeover: Boolean,
      private val minimumDeflateSize: Long,
    ) : Closeable {
      /** This holds outbound data for compression and masking. */
      private val messageBuffer = Buffer()
    
      /** The [Buffer] of [sink]. Write to this and then flush/emit [sink]. */
      private val sinkBuffer: Buffer = sink.buffer
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 6K bytes
    - Viewed (0)
  2. okhttp/src/commonJvmAndroid/kotlin/okhttp3/OkHttpClient.kt

          apply {
            webSocketCloseTimeout = checkDuration("duration", duration)
          }
    
        /**
         * Sets minimum outbound web socket message size (in bytes) that will be compressed.
         *
         * Set to 0 to enable compression for all outbound messages.
         *
         * 1024 by default.
         */
        fun minWebSocketMessageToCompress(bytes: Long) =
          apply {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Tue Oct 07 21:55:03 UTC 2025
    - 51.4K bytes
    - Viewed (0)
  3. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/ws/RealWebSocket.kt

       * servers, it should be the agreed-upon extensions immediately.
       */
      private var extensions: WebSocketExtensions?,
      /** If compression is negotiated, outbound messages of this size and larger will be compressed. */
      private var minimumDeflateSize: Long,
      private val webSocketCloseTimeout: Long,
    ) : WebSocket,
      WebSocketReader.FrameCallback,
      Lockable {
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 21.6K bytes
    - Viewed (0)
  4. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        val ping = peer.takeFrame()
        assertThat(ping.type).isEqualTo(Http2.TYPE_PING)
      }
    
      @Test fun serverWritesTrailersWithData() {
        // We buffer some outbound data and headers and confirm that the END_STREAM flag comes with the
        // headers (and not with the data).
    
        // Write the mocking script. for the client
        peer.setClient(true)
    
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  5. android/guava/src/com/google/common/collect/GeneralRange.java

      boolean tooHigh(@ParametricNullness T t) {
        if (!hasUpperBound()) {
          return false;
        }
        // The cast is safe because of the hasUpperBound() check.
        T ubound = uncheckedCastNullableTToT(getUpperEndpoint());
        int cmp = comparator.compare(t, ubound);
        return cmp > 0 | (cmp == 0 & getUpperBoundType() == OPEN);
      }
    
      boolean contains(@ParametricNullness T t) {
        return !tooLow(t) && !tooHigh(t);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
  6. guava/src/com/google/common/collect/GeneralRange.java

      boolean tooHigh(@ParametricNullness T t) {
        if (!hasUpperBound()) {
          return false;
        }
        // The cast is safe because of the hasUpperBound() check.
        T ubound = uncheckedCastNullableTToT(getUpperEndpoint());
        int cmp = comparator.compare(t, ubound);
        return cmp > 0 | (cmp == 0 & getUpperBoundType() == OPEN);
      }
    
      boolean contains(@ParametricNullness T t) {
        return !tooLow(t) && !tooHigh(t);
      }
    
    Registered: Fri Dec 26 12:43:10 UTC 2025
    - Last Modified: Tue Jul 08 18:32:10 UTC 2025
    - 10.8K bytes
    - Viewed (0)
Back to top