on master help sign in
Expound on HTTP/2 in the export list haddocks
cd8f113Andrew Pritchard
warp/Network/Wai/Handler/Warp.hs+10−1
@@ -38,11 +38,20 @@
38--
38--
39module Network.Wai.Handler.Warp (
39module Network.Wai.Handler.Warp (
40 -- * Run a Warp server
40 -- * Run a Warp server
41+ -- | All of these automatically serve the same 'Application' over HTTP\/1,
42+ -- HTTP\/1.1, and HTTP\/2.
41 run
43 run
42 , runEnv
44 , runEnv
43 , runSettings
45 , runSettings
44− , runHttp2Settings
45 , runSettingsSocket
46 , 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
46 , runHttp2SettingsSocket
55 , runHttp2SettingsSocket
47 -- * Settings
56 -- * Settings
48 , Settings
57 , Settings