Liking cljdoc? Tell your friends :D

grape.http

Convenient httpserver component that automatically injects needed dependencies and auth middleware

Convenient httpserver component that automatically injects needed dependencies
and auth middleware
raw docstring

ComponentDependenciesclj

source

Functionclj

source

HTTPServerConfigclj

source

JWTConfigclj

source

KeywordMapclj

source

map->HTTPServerclj

(map->HTTPServer m18819)

Factory function for class HTTPServer, taking a map of keywords to field values, but not much slower than ->x like the clojure.core version. (performance is fixed in Clojure 1.7, so this should eventually be removed.)

Factory function for class HTTPServer, taking a map of keywords to field values, but not much
slower than ->x like the clojure.core version.
(performance is fixed in Clojure 1.7, so this should eventually be removed.)
sourceraw docstring

new-http-serverclj

(new-http-server conf handler wrapper dependencies)

Inputs: [conf :- HTTPServerConfig handler :- RingHandlerBuilder wrapper :- WrapperBuilder dependencies :- ComponentDependencies] Returns: HTTPServer

Inputs: [conf :- HTTPServerConfig handler :- RingHandlerBuilder wrapper :- WrapperBuilder dependencies :- ComponentDependencies]
Returns: HTTPServer
sourceraw docstring

RingHandlerclj

source

RingHandlerBuilderclj

source

strict-map->HTTPServerclj

(strict-map->HTTPServer m18820 & [drop-extra-keys?__1203__auto__])

Factory function for class HTTPServer, taking a map of keywords to field values. All keys are required, and no extra keys are allowed. Even faster than map->

Factory function for class HTTPServer, taking a map of keywords to field values.  All keys are required, and no extra keys are allowed.  Even faster than map->
sourceraw docstring

wrap-dependenciesclj

(wrap-dependencies handler-builder dependencies)

Inputs: [handler-builder :- RingHandlerBuilder dependencies :- KeywordMap] Returns: RingHandler

Inputs: [handler-builder :- RingHandlerBuilder dependencies :- KeywordMap]
Returns: RingHandler

sourceraw docstring

wrap-jwt-authclj

(wrap-jwt-auth handler config)
source

WrapperBuilderclj

source

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

× close