Skip to content
Newer
Older
100644 4 lines (4 sloc) 3.73 KB
11b0195 @weavejester Update docs to 1.5.0
authored Mar 7, 2016
1 <!DOCTYPE html PUBLIC ""
2 "">
3 <html><head><meta charset="UTF-8" /><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>compojure.response documentation</title></head><body><div id="header"><h2>Generated by <a href="https://github.com/weavejester/codox">Codox</a></h2><h1><a href="index.html"><span class="project-title"><span class="project-name">Compojure</span> <span class="project-version">1.5.0</span></span></a></h1></div><div class="sidebar primary"><h3 class="no-link"><span class="inner">Project</span></h3><ul class="index-link"><li class="depth-1 "><a href="index.html"><div class="inner">Index</div></a></li></ul><h3 class="no-link"><span class="inner">Namespaces</span></h3><ul><li class="depth-1"><div class="no-link"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>compojure</span></div></div></li><li class="depth-2 branch"><a href="compojure.coercions.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>coercions</span></div></a></li><li class="depth-2 branch"><a href="compojure.core.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>core</span></div></a></li><li class="depth-2 branch"><a href="compojure.handler.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>handler</span></div></a></li><li class="depth-2 branch"><a href="compojure.middleware.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>middleware</span></div></a></li><li class="depth-2 branch current"><a href="compojure.response.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>response</span></div></a></li><li class="depth-2"><a href="compojure.route.html"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>route</span></div></a></li></ul></div><div class="sidebar secondary"><h3><a href="#top"><span class="inner">Public Vars</span></a></h3><ul><li class="depth-1"><a href="compojure.response.html#var-Renderable"><div class="inner"><span>Renderable</span></div></a></li><li class="depth-2"><a href="compojure.response.html#var-render"><div class="inner"><span class="tree"><span class="top"></span><span class="bottom"></span></span><span>render</span></div></a></li></ul></div><div class="namespace-docs" id="content"><h1 class="anchor" id="top">compojure.response</h1><div class="doc"><div class="markdown"><p>A protocol for generating Ring response maps</p></div></div><div class="public anchor" id="var-Renderable"><h3>Renderable</h3><h4 class="type">protocol</h4><div class="usage"></div><div class="doc"><div class="markdown"><p>A protocol that tells Compojure how to handle the return value of routes defined by <a href="compojure.core.html#var-GET">GET</a>, <a href="compojure.core.html#var-POST">POST</a>, etc.</p>
4 <p>This protocol supports rendering strings, maps, functions, refs, files, seqs, input streams and URLs by default, and may be extended to cover many custom types.</p></div></div><div class="members"><h4>members</h4><div class="inner"><div class="public anchor" id="var-render"><h3>render</h3><div class="usage"><code>(render this request)</code></div><div class="doc"><div class="markdown"><p>Render the object into a form suitable for the given request map.</p></div></div></div></div></div><div class="src-link"><a href="http://github.com/weavejester/compojure/blob/1.5.0/src/compojure/response.clj#L6">view source</a></div></div></div></body></html>
Something went wrong with that request. Please try again.