Noir 1.3.0-beta1 API documentation

Noir - a clojure web framework

noir.cookies

Stateful access to cookie values

Public variables and functions:

noir.core

Functions to work with partials and pages.

noir.options

Allows access to Noir's server options

Public variables and functions:

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

noir.server

A collection of functions to handle Noir's server and add middleware to the stack.

noir.server.handler

Handler generation functions used by noir.server and other ring handler libraries.

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.

Public variables and functions:

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.

Public variables and functions:

noir.util.crypt

Simple functions for hashing strings and comparing them. Typically used for storing passwords.

Public variables and functions:

noir.util.gae

Functions to help run noir on Google App Engine.

Public variables and functions:

noir.util.test

A set of utilities for testing a Noir project

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.