(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 is a website building & hosting documentation for Clojure/Script libraries
× close