NAME

Slick::RouteMap

SYNOPSIS

Slick::RouteMap is a simple "Hash-Trie" that resolves routes extremely fast, at the cost of using slightly more memory than other routing schemes.

API

get

Given a uri (Str), method (Str), and Slick::Context, find the associated Slick::Route, and return it. Otherwise return undef.

add

Given a Slick::Route and a uri (Str), add it to the Hash-Trie for later lookup.

See also

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 130:

Unknown directive: =over2

Around line 132:

'=item' outside of any '=over'