second-transfer-0.6.0.0: Second Transfer HTTP/2 web server

Safe HaskellNone
LanguageHaskell2010

SecondTransfer.Http2

Description

 

Synopsis

Documentation

http2Attendant :: SessionsContext -> AwareWorker -> Attendant Source

The type of this function is equivalent to:

     http2Attendant :: CoherentWorker -> AttendantCallbacks ->  IO ()

Given a CoherentWorker, this function wraps it with flow control, multiplexing, and state maintenance needed to run an HTTP/2 session.

Notice that this function is using HTTP/2 over TLS. We haven't implemented yet a session handling mechanism for HTTP/1.1 .