Http2ClientConnection

io.quartz.http2.Http2ClientConnection$
See theHttp2ClientConnection companion class

Attributes

Companion:
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type

Members list

Concise view

Value members

Concrete methods

def make(ch: IOChannel, uri: URI, incomingWindowSize: Int): IO[Http2ClientConnection]

Reads data from the given IOChannel and processes it with the packet_handler. This function reads data from the IOChannel in chunks representing Http2 packets, converts them to packets using the makePacketStream function, and processes each packet with the packet_handler.

Reads data from the given IOChannel and processes it with the packet_handler. This function reads data from the IOChannel in chunks representing Http2 packets, converts them to packets using the makePacketStream function, and processes each packet with the packet_handler.

Attributes

ch

the IOChannel to read data from

Returns:

a Fiber that represents the running computation

def outBoundWorker(ch: IOChannel, outq: Queue[IO, ByteBuffer]): IO[Unit]

Daemon process, sends outbound packets from Queue to the IOChannel.

Daemon process, sends outbound packets from Queue to the IOChannel.

Attributes

ch

outbound IOChannel to write data to

outq

the Queue to read data from

Returns:

a Fiber that represents the running computation