forked from weavejester/compojure
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathcompojure.response.html
More file actions
9 lines (8 loc) · 3.18 KB
/
Copy pathcompojure.response.html
File metadata and controls
9 lines (8 loc) · 3.18 KB
1
2
3
4
5
6
7
8
9
<!DOCTYPE html>
<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">Compojure 1.4.0 API documentation</a></h1></div><div class="sidebar" id="namespaces"><h3><a href="index.html"><span class="inner">Namespaces</span></a></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 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" id="vars"><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"><h2 class="anchor" id="top">compojure.response</h2><div class="doc"><pre class="plaintext">A protocol for generating Ring response maps
</pre></div><div class="public anchor" id="var-Renderable"><h3>Renderable</h3><h4 class="type">protocol</h4><div class="usage"></div><div class="doc"><pre class="plaintext">A protocol that tells Compojure how to handle the return value of routes
defined by GET, POST, etc.
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.</pre></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"><pre class="plaintext">Render the object into a form suitable for the given request map.
</pre></div></div></div></div><div class="src-link"><a href="http://github.com/weavejester/compojure/blob/1.4.0/src/compojure/response.clj#L6">view source</a></div></div></div></body></html>