Search Options

Results per page
Sort
Preferred Languages
Advance

Results 1 - 3 of 3 for NextFrame (0.04 sec)

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

          var streamErrorCode = ErrorCode.INTERNAL_ERROR
          var errorException: IOException? = null
          try {
            reader.readConnectionPreface(this)
            while (reader.nextFrame(false, this)) {
            }
            connectionErrorCode = ErrorCode.NO_ERROR
            streamErrorCode = ErrorCode.CANCEL
          } catch (e: IOException) {
            errorException = e
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 31.8K bytes
    - Viewed (0)
  2. okhttp/src/jvmTest/kotlin/okhttp3/internal/http2/Http2ConnectionTest.kt

        assertThat(synStream.headerBlock).isEqualTo(headerEntries("b", "banana"))
        val requestData = peer.takeFrame()
        assertArrayEquals("c3po".toByteArray(), requestData.data)
        val nextFrame = peer.takeFrame()
        assertThat(nextFrame.headerBlock).isEqualTo(headerEntries("e", "elephant"))
      }
    
      @Test fun clientCreatesStreamAndServerRepliesWithFin() {
        // Write the mocking script.
        peer.sendFrame().settings(Settings())
    Registered: Fri Dec 26 11:42:13 UTC 2025
    - Last Modified: Thu Jul 31 04:18:40 UTC 2025
    - 75.5K bytes
    - Viewed (0)
  3. internal/grid/connection.go

    		SkipHeaderCheck: false,
    		OnIntermediate:  controlHandler,
    	}
    	readDataInto := func(dst []byte, s ws.State, want ws.OpCode) ([]byte, error) {
    		dst = dst[:0]
    		for {
    			hdr, err := wsReader.NextFrame()
    			if err != nil {
    				return nil, err
    			}
    			if hdr.OpCode.IsControl() {
    				if err := controlHandler(hdr, &wsReader); err != nil {
    					return nil, err
    				}
    				continue
    			}
    Registered: Sun Dec 28 19:28:13 UTC 2025
    - Last Modified: Fri Aug 29 02:39:48 UTC 2025
    - 46.9K bytes
    - Viewed (0)
Back to top