Liking cljdoc? Tell your friends :D

ring.middleware.content-type

Middleware for automatically adding a content type to response maps.

Middleware for automatically adding a content type to response maps.
raw docstring

ring.middleware.cookies

Middleware for parsing and generating cookies.

Middleware for parsing and generating cookies.
raw docstring

ring.middleware.file

Middleware to serve files from a directory.

Most of the time you should prefer ring.middleware.resource instead, as this middleware will not work with files in jar or war files.

Middleware to serve files from a directory.

Most of the time you should prefer ring.middleware.resource instead, as this
middleware will not work with files in jar or war files.
raw docstring

ring.middleware.file-info

Middleware to add Last-Modified and Content-Type headers to file responses.

This middleware is deprecated. Prefer the ring.middleware.content-type and ring.middleware.not-modified middleware instead.

Middleware to add Last-Modified and Content-Type headers to file responses.

This middleware is deprecated. Prefer the ring.middleware.content-type and
ring.middleware.not-modified middleware instead.
raw docstring

ring.middleware.flash

Middleware that adds session-based flash store that persists only to the next request in the same session.

Middleware that adds session-based flash store that persists only to the
next request in the same session.
raw docstring

ring.middleware.head

Middleware to simplify replying to HEAD requests.

A response to a HEAD request should be identical to a GET request, with the exception that a response to a HEAD request should have an empty body.

Middleware to simplify replying to HEAD requests.

A response to a HEAD request should be identical to a GET request, with the
exception that a response to a HEAD request should have an empty body.
raw docstring

ring.middleware.keyword-params

Middleware that converts parameter keys in the request to keywords.

Middleware that converts parameter keys in the request to keywords.
raw docstring

ring.middleware.multipart-params

Middleware that parses multipart request bodies into parameters.

This middleware is necessary to handle file uploads from web browsers.

Ring comes with two different multipart storage engines included:

ring.middleware.multipart-params.byte-array/byte-array-store ring.middleware.multipart-params.temp-file/temp-file-store

Middleware that parses multipart request bodies into parameters.

This middleware is necessary to handle file uploads from web browsers.

Ring comes with two different multipart storage engines included:

  ring.middleware.multipart-params.byte-array/byte-array-store
  ring.middleware.multipart-params.temp-file/temp-file-store
raw docstring

ring.middleware.multipart-params.byte-array

A multipart storage engine for storing uploads as in-memory byte arrays.

A multipart storage engine for storing uploads as in-memory byte arrays.
raw docstring

ring.middleware.multipart-params.temp-file

A multipart storage engine for storing uploads in temporary files.

A multipart storage engine for storing uploads in temporary files.
raw docstring

ring.middleware.nested-params

Middleware to convert a single-depth map of parameters to a nested map.

Middleware to convert a single-depth map of parameters to a nested map.
raw docstring

ring.middleware.not-modified

Middleware that returns a 304 Not Modified response for responses with Last-Modified headers.

Middleware that returns a 304 Not Modified response for responses with
Last-Modified headers.
raw docstring

ring.middleware.params

Middleware to parse url-encoded parameters from the query string and request body.

Middleware to parse url-encoded parameters from the query string and request
body.
raw docstring

ring.middleware.resource

Middleware for serving static resources.

Middleware for serving static resources.
raw docstring

ring.middleware.session

Middleware for maintaining browser sessions using cookies.

Sessions are stored using types that adhere to the ring.middleware.session.store/SessionStore protocol. Ring comes with two stores included:

ring.middleware.session.memory/memory-store ring.middleware.session.cookie/cookie-store

Middleware for maintaining browser sessions using cookies.

Sessions are stored using types that adhere to the
ring.middleware.session.store/SessionStore protocol.
Ring comes with two stores included:

  ring.middleware.session.memory/memory-store
  ring.middleware.session.cookie/cookie-store
raw docstring

ring.middleware.session.cookie

A session storage engine that stores session data in encrypted cookies.

A session storage engine that stores session data in encrypted cookies.
raw docstring

ring.middleware.session.memory

A session storage engine that stores session data in memory.

A session storage engine that stores session data in memory.
raw docstring

ring.middleware.session.store

Contains the protocol used to define all Ring session storage engines.

Contains the protocol used to define all Ring session storage engines.
raw docstring

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

× close