Http2ClientConnection

io.quartz.http2.Http2ClientConnection
See theHttp2ClientConnection companion class

Attributes

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

Members list

Value members

Concrete methods

def make(ch: IOChannel, uri: URI, timeOutMs: Int, incomingWindowSize: Int): ZIO[Any, Nothing, 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.

Value parameters

ch

the IOChannel to read data from

Attributes

Returns

a Fiber that represents the running computation

def outBoundWorker(ch: IOChannel, outq: Queue[ByteBuffer]): ZIO[Any, Nothing, Unit]

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

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

Value parameters

ch

outbound IOChannel to write data to

outq

the Queue to read data from

Attributes

Returns

a Fiber that represents the running computation

Concrete fields

val EmptyStream: ZStream[Any, Nothing, Nothing]