on master help sign in
Expound on HTTP/2 in the export list haddocks
commitcd8f11373b4f77d01cd4fc5f45a753d15fe17e97 authorAndrew Pritchard <awpr@google.com> dateWed 29 Jul 2015, 22:31 (11 years ago) parentc29e8fb
1 file changed+10−1
warp/Network/Wai/Handler/Warp.hs+10−1
warp/Network/Wai/Handler/Warp.hs+10−1
@@ -38,11 +38,20 @@
3838--
3939module Network.Wai.Handler.Warp (
4040 -- * Run a Warp server
41+ -- | All of these automatically serve the same 'Application' over HTTP\/1,
42+ -- HTTP\/1.1, and HTTP\/2.
4143 run
4244 , runEnv
4345 , runSettings
44− , runHttp2Settings
4546 , runSettingsSocket
47+ -- * Run an HTTP\/2-aware server
48+ -- | Each of these takes an HTTP\/2-aware application as well as a backup
49+ -- 'Application' to be used for HTTP\/1.1 and HTTP\/1 connections. These
50+ -- are only needed if your application needs access to HTTP\/2-specific
51+ -- features such as trailers or pushed streams.
52+ , runHttp2
53+ , runHttp2Env
54+ , runHttp2Settings
4655 , runHttp2SettingsSocket
4756 -- * Settings
4857 , Settings