on master help sign in
updating hcar tex files from the editor.
commit0389fe16b8ec927138c853266249542dde23878a authorKazu Yamamoto <kazu@iij.ad.jp> dateThu 2 Nov 2017, 11:51 (9 years ago) parent78730dd
1 file changed+6−6
hcar-wai.tex+6−6
hcar-wai.tex+6−6
@@ -7,7 +7,7 @@
77\makeheader
88
99WAI (Web Application Interface) is an application interface between web
10−applications and handlers in Haskell. The \texttt{Application} data type is
10+applications and handlers in Haskell. The \texttt{Application} data type is
1111defined as follows:
1212
1313\begin{verbatim}
@@ -24,14 +24,14 @@ response to the function.
2424
2525Historically speaking, this interface made possible to develop handlers other
2626than HTTP. The WAI applications can run through FastCGI
27−(wai-handler-fastcgi), run as stand-alone (wai-handler-webkit), etc. But the
28−most popular handler is based on HTTP, of course. The major HTTP handler for
27+(wai-handler-fastcgi), run as stand-alone (wai-handler-webkit), etc. But the
28+most popular handler is based on HTTP, of course. The major HTTP handler for
2929WAI is Warp which now provides both HTTP/1.1 and HTTP/2. TLS (warp-tls) is
30−also available. New transports such as WebSocket (wai-websocket) and Event
30+also available. New transports such as WebSocket (wai-websocket) and Event
3131Source (wai-extra) can be implemented, too.
3232
33−It is possible to develop WAI applications directly. For instance, Hoogle and
34−Mighttpd2 take this way. However, you may want to use web application
33+It is possible to develop WAI applications directly. For instance, Hoogle and
34+Mighttpd2 take this way. However, you may want to use web application
3535frameworks such as Apiary, MFlow, rest, Servant, Scotty, Spock, Yesod, etc.
3636
3737WAI also provides \texttt{Middleware}: