Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for takeHeaders (0.11 sec)

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

      var writeBytesMaximum: Long = connection.peerSettings.initialWindowSize.toLong()
        internal set
    
      /** Received headers yet to be [taken][takeHeaders]. */
      private val headersQueue = ArrayDeque<Headers>()
    
      /** True if response headers have been sent or received. */
      private var hasResponseHeaders: Boolean = false
    
      internal val source =
        FramingSource(
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sat Apr 20 17:03:43 UTC 2024
    - 23.2K bytes
    - Viewed (0)
  2. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            }
            else -> {
            }
          }
        }
    
        @Throws(IOException::class)
        private fun readRequest(stream: Http2Stream): RecordedRequest {
          val streamHeaders = stream.takeHeaders()
          val httpHeaders = Headers.Builder()
          var method = "<:method omitted>"
          var path = "<:path omitted>"
          var readBody = true
          for ((name, value) in streamHeaders) {
    Registered: Fri Nov 01 11:42:11 UTC 2024
    - Last Modified: Sun Mar 31 17:16:15 UTC 2024
    - 37.4K bytes
    - Viewed (0)
Back to top