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

ring.util.io

Utility functions for handling I/O.

Utility functions for handling I/O.
raw docstring

ring.util.mime-type

Utility functions for determining the mime-types files.

Utility functions for determining the mime-types files.
raw docstring

ring.util.parsing

Regular expressions for parsing HTTP.

For internal use.

Regular expressions for parsing HTTP.

For internal use.
raw docstring

ring.util.request

Functions for augmenting and pulling information from request maps.

Functions for augmenting and pulling information from request maps.
raw docstring

ring.util.test

Utilities for testing Ring components.

All functions in this namespace are currently deprecated.

Utilities for testing Ring components.

All functions in this namespace are currently deprecated.
raw docstring

ring.util.time

Functions for dealing with time and dates in HTTP requests.

Functions for dealing with time and dates in HTTP requests.
raw docstring

ring.websocket

Protocols and utility functions for websocket support.

Protocols and utility functions for websocket support.
raw docstring

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

× close