Liking cljdoc? Tell your friends :D

bones.http.commands


add-commandclj

(add-command command-name spec)

add command by name to the one command-map, used to find the spec on request

add command by name to the one command-map, used to find the spec on request
sourceraw docstring

checkclj

(check body)
source

commandcljmultimethod

source

command-mapclj

source

register-commandclj

(register-command command-name spec)
(register-command command-name spec explicit-handler)

the command can have the same name of the function (implicit) - it must also have the same namespace as the call of this `register-command' function, or a third argument can be given that resolves to a function in another namespace, that way the command-name can be different from the function name if desired.

  • resolves a keyword to a function
  • adds a method to `command'
  • adds a spec to `Command'
the command can have the same name of the function (implicit) - it must also
have the same namespace as the call of this `register-command' function, or a third
argument can be given that resolves to a function in another namespace, that
way the command-name can be different from the function name if desired.

  * resolves a keyword to a function
  * adds a method to `command'
  * adds a spec to `Command'
sourceraw docstring

register-commandsclj

(register-commands commands)
source

resolve-commandclj

(resolve-command command-name)
source

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

× close