fukamachi / ningle

Super micro framework for Common Lisp
http://8arrow.org/ningle/
273 stars 25 forks source link

'ningle.app:<app> is not of type clack.handler::handler #28

Closed anschwa closed 7 years ago

anschwa commented 7 years ago

I just started experimenting with ningle and cannot figure out how to stop the web server.

With clack I can do (clack:stop *handler*) but this doesn't seem to work with *app*.

jackcarrozzo commented 7 years ago

Gotta call :stop on the handler returned by :start, not on the app itself.

(defvar h) (setf h (clack:start ...)) (clack:stop h)

anschwa commented 7 years ago

Ah, thanks!