Fast, lightweight web server for Haskell WAI applications
open sourceMITfree
Warp is a fast, lightweight HTTP server library for Haskell, the main web server for applications written against WAI. It serves HTTP/1.0, HTTP/1.1 and HTTP/2 (direct, and over TLS by ALPN, but not by upgrade), and frameworks such as Yesod and Scotty run on it. It lives in the warp package of the yesodweb/wai repository, beside WAI itself. Its authors are Michael Snoyman, Kazu Yamamoto and Matt Brown.
Problems it solves
- run a Haskell web application on a fast HTTP server
- serve HTTP/2 from a Haskell web app
- pick a production web server for a WAI or Yesod app
Features
- HTTP/1.0, HTTP/1.1 and HTTP/2 server for WAI applications
- HTTP/2 directly and over TLS by ALPN
Limitations
- HTTP/2 isn't negotiated by the HTTP/1.1 Upgrade header, only directly or by ALPN over TLS.1
