Skip to content

Commit

Permalink
fixed a note.
Browse files Browse the repository at this point in the history
  • Loading branch information
fukamachi committed Jun 13, 2011
1 parent 43c09d1 commit c0696ff
Showing 1 changed file with 5 additions and 4 deletions.
9 changes: 5 additions & 4 deletions README.markdown
Original file line number Diff line number Diff line change
Expand Up @@ -9,13 +9,14 @@ Clack is a web application environment for Common Lisp inspired by Python's WSGI
:clack))
(in-package :simple-app)

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

Now access [http://localhost:5000/](http://localhost:5000/) and Clack may show you "Hello, Clack!".

To stop the server, you should just call `(clack:stop *)`.
To stop the server, you should just call `(clack:stop *handler*)`.

## About Clack

Expand Down

0 comments on commit c0696ff

Please sign in to comment.