Liking cljdoc? Tell your friends :D

hiposfer.kamal.services.webserver.handlers


createclj

(create)

creates an API handler with a closure around the router

creates an API handler with a closure around the router
sourceraw docstring

directions-coercerclj

source

max-distanceclj

source

preprocessclj

(preprocess request spec coercer)

checks that the passed request conforms to spec and coerce its params if so. Returns a possibly modified request.

We do it like this instead of creating a middleware for readability. We need access to the path parameters which are only added after the route has been matched.

See: https://groups.google.com/forum/?hl=en#!topic/compojure/o5l9m7nbGlE

checks that the passed request conforms to spec and coerce its params
if so. Returns a possibly modified request.

We do it like this instead of creating a middleware for readability. We
need access to the path parameters which are only added after the route
has been matched.

See: https://groups.google.com/forum/?hl=en#!topic/compojure/o5l9m7nbGlE
sourceraw docstring

cljdoc is a website building & hosting documentation for Clojure/Script libraries

× close