Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 1 of 1 for requestIOException (0.34 sec)

  1. mockwebserver/src/main/kotlin/mockwebserver3/internal/duplex/MockStreamHandler.kt

            if (!stream.requestBody.exhausted()) throw AssertionError("expected exhausted")
          }
        }
    
      fun cancelStream() =
        apply {
          actions += { stream -> stream.cancel() }
        }
    
      fun requestIOException() =
        apply {
          actions += { stream ->
            try {
              stream.requestBody.exhausted()
              throw AssertionError("expected IOException")
            } catch (expected: IOException) {
            }
    Registered: Sun Jun 16 04:42:17 UTC 2024
    - Last Modified: Mon Jan 08 01:13:22 UTC 2024
    - 3.2K bytes
    - Viewed (0)
Back to top