Http2ConnectionCommon

io.quartz.http2.Http2ConnectionCommon
trait Http2ConnectionCommon(val INITIAL_WINDOW_SIZE: Int, val globalBytesOfPendingInboundData: Ref[IO, Long], val globalInboundWindow: Ref[IO, Long], val globalTransmitWindow: Ref[IO, Long], val outq: Queue[IO, ByteBuffer], val hSem2: Semaphore[IO])

Attributes

Graph
Supertypes
class Object
trait Matchable
class Any
Known subtypes

Members list

Concise view

Value members

Abstract methods

def getStream(id: Int): Option[Http2StreamCommon]

Concrete methods

protected def dataFrame(sts: Http2Settings, streamId: Int, endStream: Boolean, data: ByteBuffer): Seq[ByteBuffer]

Generate stream data frame(s) for the specified data

Generate stream data frame(s) for the specified data

If the data exceeds the peers MAX_FRAME_SIZE setting, it is fragmented into a series of frames.

Attributes

protected def headerFrame(streamId: Int, settings: Http2Settings, priority: Priority, endStream: Boolean, headerEncoder: HeaderEncoder, headers: Headers): Seq[ByteBuffer]
protected def sendDataFrame(streamId: Int, bb: ByteBuffer): IO[Unit]
def sendFrame(b: ByteBuffer): IO[Unit]
protected def takeSlice(buf: ByteBuffer, len: Int): ByteBuffer

Concrete fields

val globalInboundWindow: Ref[IO, Long]
val globalTransmitWindow: Ref[IO, Long]
val hSem2: Semaphore[IO]
val outq: Queue[IO, ByteBuffer]