Search Options

Display Count
Sort
Preferred Language
Advanced Search

Results 1 - 2 of 2 for onStream (0.55 seconds)

  1. okhttp/src/commonJvmAndroid/kotlin/okhttp3/internal/http2/Http2Connection.kt

              // Use a different task queue for each stream because they should be handled in parallel.
              taskRunner.newQueue().execute("$connectionName[$streamId] onStream") {
                try {
                  listener.onStream(newStream)
                } catch (e: IOException) {
                  Platform.get().log("Http2Connection.Listener failure for $connectionName", INFO, e)
                  ignoreIoExceptions {
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 31.9K bytes
    - Click Count (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

        private val protocol: Protocol,
      ) : Http2Connection.Listener() {
        private val nextExchangeIndex = AtomicInteger()
    
        @Throws(IOException::class)
        override fun onStream(stream: Http2Stream) {
          val peek = dispatcher.peek()
          if (handleSocketEffect(peek.onRequestStart, socket, stream)) {
            dispatchBookkeepingRequest(
              connectionIndex = connectionIndex,
    Created: Fri Apr 03 11:42:14 GMT 2026
    - Last Modified: Tue Jan 27 09:00:39 GMT 2026
    - 40.3K bytes
    - Click Count (0)
Back to Top