Safe Haskell | None |
---|---|
Language | Haskell2010 |
Documentation
http2Attendant :: SessionsContext -> CoherentWorker -> Attendant Source
The type of this function is equivalent to:
http2Attendant :: CoherentWorker -> PushAction -> PullAction -> CloseAction -> 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 .