Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for flowControlListener (0.16 sec)

  1. okhttp/src/main/kotlin/okhttp3/internal/http2/FlowControlListener.kt

     * See the License for the specific language governing permissions and
     * limitations under the License.
     */
    package okhttp3.internal.http2
    
    import okhttp3.internal.http2.flowcontrol.WindowCounter
    
    interface FlowControlListener {
      /**
       * Notification that the receiving stream flow control window has changed.
       * [WindowCounter] generally carries the client view of total and acked bytes.
       */
      fun receivingStreamWindowChanged(
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.5K bytes
    - Viewed (0)
  2. okhttp-testing-support/src/main/kotlin/okhttp3/internal/http2/Http2FlowControlConnectionListener.kt

    import okhttp3.internal.http2.flowcontrol.WindowCounter
    
    /**
     * ConnectionListener that outputs CSV for flow control of client receiving streams.
     */
    class Http2FlowControlConnectionListener : ConnectionListener(), FlowControlListener {
      val start = System.currentTimeMillis()
    
      override fun receivingStreamWindowChanged(
        streamId: Int,
        windowCounter: WindowCounter,
        bufferSize: Long,
      ) {
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 1.3K bytes
    - Viewed (0)
Back to top