Noir 1.3.0-beta1 API documentation
Noir - a clojure web framework
noir.request
Functions for accessing the original request object from within noir handlers
Public variables and functions:
noir.response
Simple response helpers to change the content type, redirect, or return a canned response
Public variables and functions:
noir.server
A collection of functions to handle Noir's server and add middleware to the stack.
Public variables and functions:
noir.server.handler
Handler generation functions used by noir.server and other ring handler libraries.
Public variables and functions:
noir.session
Stateful session handling functions. Uses a memory-store by default, but can use a custom store by supplying a :session-store option to server/start.
noir.statuses
If no pages are defined that match a request, a status page is used based on the the HTTP status code of the response. This contains the function necessary to get or set these status pages.
noir.util.crypt
Simple functions for hashing strings and comparing them. Typically used for storing passwords.
noir.validation
Functions for validating input and setting string errors on fields. All fields are simply keys, meaning this can be a general error storage and retrieval mechanism for the lifetime of a single request. Errors are not persisted and are cleaned out at the end of the request.
Public variables and functions: