io.quartz.http2.Http2Connection
See theHttp2Connection companion object
class Http2Connection[Env](ch: IOChannel, val id: Long, httpRoute: () => Env, httpReq11: Ref[Option[Request]], outq: Queue[ByteBuffer], globalTransmitWindow: Ref[Long], globalBytesOfPendingInboundData: Ref[Long], globalInboundWindow: Ref[Long], shutdownD: Promise[Throwable, Boolean], hSem: Semaphore, hSem2: Semaphore, MAX_CONCURRENT_STREAMS: Int, HTTP2_KEEP_ALIVE_MS: Int, INITIAL_WINDOW_SIZE: Int) extends Http2ConnectionCommon
Attributes
- Companion
- object
- Graph
-
- Supertypes
Members list
Value members
Concrete methods
def packet_handler(http11request: Ref[Option[Request]], packet: Chunk[Byte]): ZIO[Env, Throwable, Unit]
Inherited 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
- Inherited from:
- Http2ConnectionCommon
protected def headerFrame(streamId: Int, settings: Http2Settings, priority: Priority, endStream: Boolean, headerEncoder: HeaderEncoder, headers: Headers): Seq[ByteBuffer]
Generate stream header frames from the provided header sequence
Generate stream header frames from the provided header sequence
If the compressed representation of the headers exceeds the MAX_FRAME_SIZE setting of the peer, it will be broken into a HEADERS frame and a series of CONTINUATION frames.
Attributes
- Inherited from:
- Http2ConnectionCommon
Attributes
- Inherited from:
- Http2ConnectionCommon
Attributes
- Inherited from:
- Http2ConnectionCommon
Attributes
- Inherited from:
- Http2ConnectionCommon
Concrete fields
In this article