Skip to content

Latest commit

 

History

History

Folders and files

NameName
Last commit message
Last commit date

parent directory

..
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

README.md

Examples

Basic

Very simple example, using RackBuilder to route two paths two two separate hosts.

Go to example

Routing

Shows how routing is utilized to remap certain paths, or deny access.

Go to example

Permissions

Shows how a custom permission handler is injected to require a secret API token.

Go to example

Rewriting

Shows an advanced example of how parts of the URL are rewritten, turning them into HTTP headers.

Go to example

Aggregation

Shows an advanced example of how to programmatically inject a proc into the routes which makes multiple requests to form an aggregated response.

Go to example