Skip to content

iwharrison/clack

 
 

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Clack - Web Application Environment for Common Lisp

Clack is a web application environment for Common Lisp inspired by Python's WSGI and Ruby's Rack. Your awesome framework should base on this.

Usage

(defpackage simple-app
  (:use :cl
        :clack))
(in-package :simple-app)

(defvar *handler*
    (clackup
      #'(lambda (env)
          '(200 (:content-type "text/plain") ("Hello, Clack!")))))

Now access http://localhost:5000/ and Clack should show you "Hello, Clack!".

To stop the server, execute (clack:stop *handler*).

Installation

Clack is available on Quicklisp.

(ql:quickload :clack)

Documentation

Server

Middleware

Middleware is one of the Clack Component. It takes another Application and runs it.

Bundle Middleware

Contrib Middleware

Author

Copyright

Copyright (c) 2011 Eitarow Fukamachi

Contributors

License

Licensed under the LLGPL License.

About

Web application environment for Common Lisp

Resources

Stars

Watchers

Forks

Packages

No packages published