Clack.Component - Base Class for Clack Component.
(:use :cl :clack)
(defclass <clack-app-example> (<component>) ())
(defmethod call ((this <clack-app-example>) env)
(declare (ignore this env))
`(200 (:content-type "text/plain") ("Hello, World!")))
Clack.Component is the base class shared between Clack.Middleware and Clack Application.
You must implement `clack.component:call' as a method which is called when an HTTP request comes in and returns a response.
* Eitarow Fukamachi (firstname.lastname@example.org)
## SEE ALSO
CALL (COMP ENV)
Invoke component. Designed to be overriden in subclasses.
Base Class for Clack Component shared between <middleware> and Clack Application.