(defpackage clack-sample
(:use :cl
:clack.handler.hunchentoot))
(in-package :clack-sample)
;; Start Server
(run (lambda (env)
'(200 nil ("ok")))
:port 5000) Clack.Handler.Hunchentoot is a Clack handler for the Lisp web server Hunchentoot. This package exports run and stop.
Eitarow Fukamachi (e.arrows@gmail.com)
Start Hunchentoot server.
Stop Hunchentoot server. If no acceptor is given, try to stop `*acceptor*` by default.
Hunchentoot request dispatcher for Clack. Most of this is the same as list-request-dispatcher, the default one in Hunchentoot, except for converting Request instances into a plist before passing to Clack application.
Disable generating error HTML.