Liking cljdoc? Tell your friends :D

babashka.http-server


default-mime-typesclj

A map of file extensions to mime-types.

A map of file extensions to mime-types.
sourceraw docstring

execclj

(exec opts)

Exec function, intended for command line usage. Same API as serve but blocks until process receives SIGINT.

Exec function, intended for command line usage. Same API as `serve` but
blocks until process receives SIGINT.
sourceraw docstring

file-routerclj

(file-router dir headers)
source

serveclj

(serve {:keys [port] :or {port 8090} :as opts})

Serves static assets using web server. Options:

  • :dir - directory from which to serve assets
  • :port - port
  • :headers - map of headers {key value}
Serves static assets using web server.
Options:
  * `:dir` - directory from which to serve assets
  * `:port` - port
  * `:headers` - map of headers {key value}
sourceraw docstring

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

× close