Liking cljdoc? Tell your friends :D

cmr.http.kit.components.server


create-componentclj

(create-component)
(create-component port)
raw docstring

HTTPDclj


lifecycle-behaviourclj


startclj

(start this)

The entry-point in configuration needs to be of the form name.space/function-name and should point to a function that takes at least one parameter: the httpd component/system data structure.

Furthermore, when that entry-point function is called, it requires that two other configuration values have been set:

  • API routes
  • web site routes

Note that the API route takes an additional parameter: the version of the API; unlike the site routes, the API routes are built at the time of the HTTP request (in order to support versioned APIs).

For more information on the expected placement in configuration, see cmr.http.kit.components.config.

The `entry-point` in configuration needs to be of the form
`name.space/function-name` and should point to a function that takes at least
one parameter: the httpd component/system data structure.

Furthermore, when that `entry-point` function is called, it requires that
two other configuration values have been set:
* API routes
* web site routes

Note that the API route takes an additional parameter: the version of the
API; unlike the site routes, the API routes are built at the time of the
HTTP request (in order to support versioned APIs).

For more information on the expected placement in configuration, see
`cmr.http.kit.components.config`.
raw docstring

stopclj

(stop this)

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

× close