@@ -228,6 +228,7 @@ f .: g = curry $ f . uncurry g
228runTLS :: TLSSettings -> Settings -> Application -> IO ()
228runTLS :: TLSSettings -> Settings -> Application -> IO ()
229runTLS tset set = runServeTLS tset set . serveDefault
229runTLS tset set = runServeTLS tset set . serveDefault
231+-- | Run an HTTP\/2-aware server with 'TLSSettings' and 'Settings'.
231runHTTP2TLS :: TLSSettings -> Settings -> HTTP2Application -> Application -> IO ()
232runHTTP2TLS :: TLSSettings -> Settings -> HTTP2Application -> Application -> IO ()
232runHTTP2TLS tset set = runServeTLS tset set .: serveHTTP2
233runHTTP2TLS tset set = runServeTLS tset set .: serveHTTP2
@@ -245,7 +246,7 @@ runServeTLS tset set serve = withSocketsDo $
245runTLSSocket :: TLSSettings -> Settings -> Socket -> Application -> IO ()
246runTLSSocket :: TLSSettings -> Settings -> Socket -> Application -> IO ()
246runTLSSocket tset set sock = runServeTLSSocket tset set sock . serveDefault
247runTLSSocket tset set sock = runServeTLSSocket tset set sock . serveDefault
248−-- | Run an HTTP/2-aware server with 'TLSSettings' and 'Settings' using
249+-- | Run an HTTP\/2-aware server with 'TLSSettings' and 'Settings' using
249-- specified 'Socket'.
250-- specified 'Socket'.
250runHTTP2TLSSocket :: TLSSettings -> Settings -> Socket -> HTTP2Application -> Application -> IO ()
251runHTTP2TLSSocket :: TLSSettings -> Settings -> Socket -> HTTP2Application -> Application -> IO ()
251runHTTP2TLSSocket tset set sock = runServeTLSSocket tset set sock .: serveHTTP2
252runHTTP2TLSSocket tset set sock = runServeTLSSocket tset set sock .: serveHTTP2