Skip to content

HTTPS clone URL

Subversion checkout URL

You can clone with HTTPS or Subversion.

Download ZIP
branch: master
Fetching contributors…

Cannot retrieve contributors at this time

7 lines (7 sloc) 2.964 kb
<!DOCTYPE html>
<html><head><link href="css/default.css" rel="stylesheet" type="text/css"><script src="js/jquery.min.js" type="text/javascript"></script><script src="js/page_effects.js" type="text/javascript"></script><title>noir.server.handler documentation</title></head><body><div id="header"><h1><a href="index.html">Noir 1.3.0-beta1 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3>Namespaces</h3><ul><li><a href="noir.cookies.html"><span>noir.cookies</span></a></li><li><a href="noir.core.html"><span>noir.core</span></a></li><li><a href="noir.options.html"><span>noir.options</span></a></li><li><a href="noir.request.html"><span>noir.request</span></a></li><li><a href="noir.response.html"><span>noir.response</span></a></li><li><a href="noir.server.html"><span>noir.server</span></a></li><li class="current"><a href="noir.server.handler.html"><span>noir.server.handler</span></a></li><li><a href="noir.session.html"><span>noir.session</span></a></li><li><a href="noir.statuses.html"><span>noir.statuses</span></a></li><li><a href="noir.util.crypt.html"><span>noir.util.crypt</span></a></li><li><a href="noir.util.gae.html"><span>noir.util.gae</span></a></li><li><a href="noir.util.test.html"><span>noir.util.test</span></a></li><li><a href="noir.validation.html"><span>noir.validation</span></a></li></ul></div><div class="sidebar" id="vars"><h3>Public Vars</h3><ul><li><a href="noir.server.handler.html#var-add-custom-middleware"><span>add-custom-middleware</span></a></li><li><a href="noir.server.handler.html#var-base-handler"><span>base-handler</span></a></li><li><a href="noir.server.handler.html#var-wrap-noir-middleware"><span>wrap-noir-middleware</span></a></li><li><a href="noir.server.handler.html#var-wrap-spec-routes"><span>wrap-spec-routes</span></a></li></ul></div><div class="namespace-docs" id="content"><h2>noir.server.handler documentation</h2><pre class="doc">Handler generation functions used by noir.server and other ring handler libraries.
</pre><div class="public" id="var-add-custom-middleware"><h3>add-custom-middleware</h3><div class="usage"><code>(add-custom-middleware func &amp; args)</code></div><pre class="doc">Add a middleware function to all noir handlers.
</pre></div><div class="public" id="var-base-handler"><h3>base-handler</h3><div class="usage"><code>(base-handler &amp; [opts])</code></div><pre class="doc">Get the most basic Noir request handler, only adding wrap-custom-middleware and wrap-request-map.
</pre></div><div class="public" id="var-wrap-noir-middleware"><h3>wrap-noir-middleware</h3><div class="usage"><code>(wrap-noir-middleware handler opts)</code></div><pre class="doc">Wrap a base handler in all of noir's middleware
</pre></div><div class="public" id="var-wrap-spec-routes"><h3>wrap-spec-routes</h3><div class="usage"><code>(wrap-spec-routes handler opts)</code></div><pre class="doc">Wrap a handler in noir's resource and catch-all routes.
</pre></div></div></body></html>
Jump to Line
Something went wrong with that request. Please try again.