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 Objecttrait Matchableclass 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
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
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
In this article