module Athena::Routing

Overview

Provides a performant and robust HTTP based routing library/framework.

Defined in:

annotations.cr
athena-routing.cr
ext/regex.cr

Constant Summary

VERSION = "0.1.9"

Class Method Summary

Class Method Detail

def self.compile(routes : ART::RouteCollection) : Nil #

Before ART::Routes can be matched or generated, they must first be compiled. This process compiles each route into its ART::CompiledRoute representation, then merges them all together into a more efficient cacheable format.

The specifics of this process should be seen as an implementation detail. All you need to worry about is calling this method with your ART::RouteCollection.


[View source]