(make-context conf host-fn routes)
Creates Martian context for the given configuration. This context
should be passed to subsequent requests. The host-fn
is a function
that generates the host using the configuration. Usually it formats
the host using the region from the conf
.
Creates Martian context for the given configuration. This context should be passed to subsequent requests. The `host-fn` is a function that generates the host using the configuration. Usually it formats the host using the region from the `conf`.
cljdoc is a website building & hosting documentation for Clojure/Script libraries
× close