on master help sign in
doc update.
commit6f77eb663e6ee8b7ce547829a82647c89efc4f75 authorKazu Yamamoto <kazu@iij.ad.jp> dateMon 24 Jun 2019, 15:44 (7 years ago) parent455b48d
1 file changed+5−1
warp/Network/Wai/Handler/Warp/HTTP2/Types.hs+5−1
warp/Network/Wai/Handler/Warp/HTTP2/Types.hs+5−1
@@ -32,7 +32,9 @@ data HTTP2Data = HTTP2Data {
3232 --
3333 -- Since: 3.2.7
3434 http2dataPushPromise :: [PushPromise]
35− -- Since: 3.2.8
35+ -- | Accessor for 'H2.TrailersMaker' in 'HTTP2Data'.
36+ --
37+ -- Since: 3.2.8 but the type changed in 3.3.0
3638 , http2dataTrailers :: H2.TrailersMaker
3739 }
3840
@@ -43,6 +45,8 @@ defaultHTTP2Data :: HTTP2Data
4345defaultHTTP2Data = HTTP2Data [] H2.defaultTrailersMaker
4446
4547-- | HTTP/2 push promise or sever push.
48+-- This allows files only for backward-compatibility
49+-- while the HTTP/2 library supports other types.
4650--
4751-- Since: 3.2.7
4852data PushPromise = PushPromise {