Http11Connection

io.quartz.http2.Http11Connection
See theHttp11Connection companion object
class Http11Connection[Env](ch: IOChannel, keepAliveMs: Int, val id: Long, streamIdRef: Ref[IO, Int], httpRoute: HttpRoute)

Attributes

Companion
object
Graph
Supertypes
class Object
trait Matchable
class Any

Members list

Value members

Concrete methods

def processIncoming(headers0: Headers, leftOver_tls: Chunk[Byte], refStart: Ref[IO, Boolean]): IO[Unit]

Processes incoming HTTP/1.1 requests

Processes incoming HTTP/1.1 requests

Value parameters

headers0

Initial headers if available

leftOver_tls

Any leftover bytes from TLS processing

refStart

Reference to track if this is the start of processing

Attributes

Returns

IO unit when request processing is complete

def route2(streamId: Int, request: Request, requestChunked: Boolean): IO[Unit]

Routes the request to the appropriate handler and processes the response

Routes the request to the appropriate handler and processes the response

Value parameters

request

The HTTP request

requestChunked

Whether the request uses chunked encoding

streamId

Stream identifier for the request

Attributes

Returns

IO unit when routing is complete

def shutdown: IO[Unit]

Shuts down the connection and logs the event

Shuts down the connection and logs the event

Attributes

Returns

IO unit when complete

Translates HTTP/1.1 headers to HTTP/2 format

Translates HTTP/1.1 headers to HTTP/2 format

Value parameters

headers

The HTTP/1.1 headers

Attributes

Returns

Headers in HTTP/2 format

Concrete fields

val id: Long