Fork me on GitHub
#untangled
<
2016-08-07
>
cjmurphy09:08:24

Thanks @mahinshaw. I can see function handle-index being called. Handler functions have to have two parameters (the error message told me). What is the best way to find out what these parameters are? Also I'm being left with: java.lang.ClassCastException: java.lang.String cannot be cast to clojure.lang.Associative, and not sure where it comes from.

cjmurphy10:08:03

From reading the source I think that env and match are the parameters.

mahinshaw20:08:52

@cjmurphy: correct, your handler should take the env and a match. As a note, you will find the request inside the env.