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.
raw 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.
raw 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)
raw docstring

fileclj

(file root-path & [opts])

Interceptor for file ring middleware.

Interceptor for file ring middleware.
raw docstring

file-infoclj

(file-info & [mime-types])

Interceptor for file-info ring middleware.

Interceptor for file-info ring middleware.
raw 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.
raw docstring

(head)

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

Interceptor to handle head requests. If used with defroutes, it will not work
if specified in an interceptor's meta-key.
raw 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
raw docstring

multipart-paramsclj

(multipart-params & [opts])

Interceptor for multipart-params ring middleware.

Interceptor for multipart-params ring middleware.
raw docstring

nested-paramsclj

(nested-params & [opts])

Interceptor for nested-params ring middleware.

Interceptor for nested-params ring middleware.
raw docstring

not-modifiedclj

(not-modified)

Interceptor for not-modified ring middleware.

Interceptor for not-modified ring middleware.
raw docstring

paramsclj

(params & [opts])

Interceptor for params ring middleware.

Interceptor for params ring middleware.
raw docstring

resourceclj

(resource root-path)

Interceptor for resource ring middleware

Interceptor for resource ring middleware
raw 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.
raw 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.
raw docstring

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

× close