Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for noabody (0.3 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/MockWebServer.kt

            socket.shutdownOutput()
            return false
          }
          if (response.socketPolicy === NoResponse) {
            // This read should block until the socket is closed. (Because nobody is writing.)
            if (source.exhausted()) return false
            throw ProtocolException("unexpected data")
          }
    
          var reuseSocket = true
          val requestWantsWebSockets =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Mar 31 17:16:15 GMT 2024
    - 37.4K bytes
    - Viewed (0)
  2. docs/contribute/concurrency.md

    The application-layer can also do blocking reads. If the application asks to read and there's nothing available, we need to hold that thread until either the bytes arrive, the stream is closed, or a timeout elapses. If we get bytes but there's nobody asking for them, we buffer them. We don't consider bytes as delivered for flow control until they're consumed by the application.
    
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sun Feb 06 16:35:36 GMT 2022
    - 7K bytes
    - Viewed (0)
  3. okhttp-logging-interceptor/src/main/kotlin/okhttp3/logging/HttpLoggingInterceptor.kt

          val level = this.level
    
          val request = chain.request()
          if (level == Level.NONE) {
            return chain.proceed(request)
          }
    
          val logBody = level == Level.BODY
          val logHeaders = logBody || level == Level.HEADERS
    
          val requestBody = request.body
    
          val connection = chain.connection()
          var requestStartMessage =
    Plain Text
    - Registered: Fri Apr 26 11:42:10 GMT 2024
    - Last Modified: Sat Apr 06 09:14:38 GMT 2024
    - 11.2K bytes
    - Viewed (1)
Back to top