Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 2 of 2 for Schortens (0.2 sec)

  1. okhttp/src/test/java/okhttp3/internal/http2/MockHttp2Peer.kt

      fun frameCount(): Int = frameCount
    
      fun sendFrame(): Http2Writer {
        outFrames.add(OutFrame(frameCount++, bytesOut.size, false))
        return writer
      }
    
      /**
       * Shortens the last frame from its original length to `length`. This will cause the peer to
       * close the socket as soon as this frame has been written; otherwise the peer stays open until
       * explicitly closed.
       */
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Thu Apr 11 22:09:35 GMT 2024
    - 8.7K bytes
    - Viewed (0)
  2. okhttp/src/test/java/okhttp3/CacheTest.kt

        val url = server.url("/")
        assertThat(get(url).body.string()).isEqualTo("A")
        assertThat(get(url).body.string()).isEqualTo("A")
      }
    
      /**
       * Shortens the body of `response` but not the corresponding headers. Only useful to test
       * how clients respond to the premature conclusion of the HTTP body.
       */
      private fun truncateViolently(
    Plain Text
    - Registered: Fri May 03 11:42:14 GMT 2024
    - Last Modified: Wed Apr 10 19:46:48 GMT 2024
    - 108.6K bytes
    - Viewed (0)
Back to top