(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 builds & hosts documentation for Clojure/Script libraries
Ctrl+k | Jump to recent docs |
← | Move to previous article |
→ | Move to next article |
Ctrl+/ | Jump to the search field |