Liking cljdoc? Tell your friends :D

clj-mu.core


bodyclj

(body request)
source

configure-muclj

(configure-mu)
(configure-mu options)

configure mu-server with bunch of options. If no options are passed in mu will start an http server on a free port. This function does not start mu-server. See the start-mu function to start mu-server.

options need to be passed in as a map as follows

:port - http port to start up on :https-port - https port to start up on

configure mu-server with bunch of options. If no options are passed in mu will start an http server on a free port.
This function does not start mu-server. See the start-mu function to start mu-server.

options need to be passed in as a map as follows

:port           - http port to start up on
:https-port     - https port to start up on
sourceraw docstring

CONTEXT->cljmacro

(CONTEXT-> mu-builder path & handlers)
source

create-route-handlerclj

(create-route-handler handler)
source

DELETEclj

(DELETE mu-builder path handler)
source

extract-requestclj

(extract-request request params)

return more of a clojure style request object back so that the handler can be more clojure like

return more of a clojure style request object back so that the handler can be more clojure like
sourceraw docstring

formsclj

(forms request)
source

GETclj

(GET mu-builder path handler)
source

(HEAD mu-builder path handler)
source

POSTclj

(POST mu-builder path handler)
source

PUTclj

(PUT mu-builder path handler)
source

run-muclj

(run-mu)
(run-mu options)

helper function to help with some testing

helper function to help with some testing
sourceraw docstring

start-muclj

(start-mu mu-server-builder)

starts mu-server

starts mu-server
sourceraw docstring

STATICclj

(STATIC mu-builder file-root-if-exists classpath-root)
source

stop-muclj

(stop-mu mu-server)

stops mu-server

stops mu-server
sourceraw docstring

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

× close