compojure.response

A protocol for generating Ring response maps

Renderable

protocol

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.

members

render

(render this request)

Render the object into a form suitable for the given request map.