Liking cljdoc? Tell your friends :D

duckula.component.http-server


createclj

(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
sourceraw docstring

create-handlerclj

(create-handler request-handler)

Create Handler component, usually needs wrapping in (component/using ... [:deps])

Create Handler component, usually needs wrapping in (component/using ... [:deps])
sourceraw docstring

create-serverclj

(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 })`
sourceraw docstring

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

× close