Liking cljdoc? Tell your friends :D

cmr.http.kit.app.handler

This namespace defines the handlers for general resources.

Simple handlers will only need to make a call to a library and then have that data prepared for the client by standard response function. More complex handlers will need to perform additional tasks. For example, in order of increasing complexity:

  • utilize non-default, non-trivial response functions
  • operate on the obtained data with various transformations, including extracting form data, query strings, etc.
  • take advantage of middleware functions that encapsulate complicated business logic
This namespace defines the handlers for general resources.

Simple handlers will only need to make a call to a library and then have that
data prepared for the client by standard response function. More complex
handlers will need to perform additional tasks. For example, in order of
increasing complexity:
* utilize non-default, non-trivial response functions
* operate on the obtained data with various transformations, including
  extracting form data, query strings, etc.
* take advantage of middleware functions that encapsulate complicated
  business logic
raw docstring

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

× close