@@ -38,11 +38,20 @@
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.
43 , runSettings
45 , runSettings
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.
46 , runHttp2SettingsSocket
55 , runHttp2SettingsSocket
47 -- * Settings
56 -- * Settings
48 , Settings
57 , Settings