@@ -0,0 +1,15 @@
1+module Network.Wai.HTTP2
6+import qualified Network.HTTP.Types as H
8+import Network.Wai.Internal (Request, Response, ResponseReceived)
10+-- | Headers sent after the end of a data stream, as defined by section 4.1.2 of
11+-- the HTTP\/1.1 spec (RFC 7230), and section 8.1 of the HTTP\/2 spec.
12+type Trailers = H.ResponseHeaders
14+-- | The HTTP\/2-aware equivalent of 'Network.Wai.Application'.
15+type Http2Application = Request -> (Response -> IO ResponseReceived) -> IO ResponseReceived