(create {:keys [handler config]} dependencies)Create a mini system composed of the http server with a Ring handler attached
Create a mini system composed of the http server with a Ring handler attached
(create-handler request-handler)Create Handler component, usually needs wrapping in (component/using ... [:deps])
Create Handler component, usually needs wrapping in (component/using ... [:deps])
(create-server config)Create Jetty server component, must have :app as dependency:
(component/using (create-server) { :app :api })
Create Jetty server component, must have :app as dependency:
`(component/using (create-server) { :app :api })`cljdoc builds & hosts documentation for Clojure/Script libraries
| Ctrl+k | Jump to recent docs |
| ← | Move to previous article |
| → | Move to next article |
| Ctrl+/ | Jump to the search field |