Liking cljdoc? Tell your friends :D

io.pedestal.http.ring-middlewares

This namespace creates interceptors for ring-core middlewares.

This namespace creates interceptors for ring-core middlewares.
raw docstring

content-typeclj

(content-type & [opts])

Interceptor for content-type ring middleware.

Interceptor for content-type ring middleware.
sourceraw docstring

cookiesclj

Interceptor for cookies ring middleware. Be sure to persist :cookies from the request to response.

Interceptor for cookies ring middleware. Be sure to persist :cookies
from the request to response.
sourceraw docstring

fast-resourceclj

(fast-resource root-path)
(fast-resource root-path opts)

Interceptor for resource handling. This interceptor will return async responses for large files (files larger than the HTTP Buffer) If your container doesn't recognize FileChannel response bodies, this interceptor will cause errors Supports a map of options: :index? - If path is a directory, will attempt to find an 'index.*' file to serve. Defaults to true :follow-symlinks? - Serve files through symbolic links. Defaults to false :loader - A class loader specific for these resource fetches. Default to nil (use the main class loader)

Interceptor for resource handling.
This interceptor will return async responses for large files (files larger than the HTTP Buffer)
If your container doesn't recognize FileChannel response bodies, this interceptor will cause errors
Supports a map of options:
:index? - If path is a directory, will attempt to find an 'index.*' file to serve. Defaults to true
:follow-symlinks? - Serve files through symbolic links. Defaults to false
:loader - A class loader specific for these resource fetches. Default to nil (use the main class loader)
sourceraw docstring

fileclj

(file root-path & [opts])

Interceptor for file ring middleware.

Interceptor for file ring middleware.
sourceraw docstring

file-infoclj

(file-info & [mime-types])

Interceptor for file-info ring middleware.

Interceptor for file-info ring middleware.
sourceraw docstring

flashclj

(flash)

Interceptor for flash ring middleware. Be sure to persist keys needed by session and cookie interceptors.

Interceptor for flash ring middleware. Be sure to persist keys needed
by session and cookie interceptors.
sourceraw docstring

(head)

Interceptor to handle head requests. If used with defroutes, it will not work if specified in an interceptors meta-key.

Interceptor to handle head requests. If used with defroutes, it will not work
if specified in an interceptors meta-key.
sourceraw docstring

keyword-paramsclj

Retained for backward compatibility. io.pedestal.http.params/keyword-params is recommended

Retained for backward compatibility. io.pedestal.http.params/keyword-params is recommended
sourceraw docstring

multipart-paramsclj

(multipart-params & [opts])

Interceptor for multipart-params ring middleware.

Interceptor for multipart-params ring middleware.
sourceraw docstring

nested-paramsclj

(nested-params & [opts])

Interceptor for nested-params ring middleware.

Interceptor for nested-params ring middleware.
sourceraw docstring

not-modifiedclj

(not-modified)

Interceptor for not-modified ring middleware.

Interceptor for not-modified ring middleware.
sourceraw docstring

paramsclj

(params & [opts])

Interceptor for params ring middleware.

Interceptor for params ring middleware.
sourceraw docstring

resourceclj

(resource root-path)

Interceptor for resource ring middleware

Interceptor for resource ring middleware
sourceraw docstring

response-fn-adapterclj

(response-fn-adapter response-fn)
(response-fn-adapter response-fn opts)

Adapts a ring middleware fn taking a response and request to an interceptor context.

Adapts a ring middleware fn taking a response and request to an interceptor context.
sourceraw docstring

sessionclj

(session)
(session options)

Interceptor for session ring middleware. Be sure to persist :session and :session/key from request to the response.

Interceptor for session ring middleware. Be sure to persist :session and
:session/key from request to the response.
sourceraw docstring

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

× close