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.

merge

Merges two given Slick::RouteMaps. This is the primary mechanism behind Slick::Router.

See also

2 POD Errors

The following errors were encountered while parsing the POD:

Around line 170:

Unknown directive: =over2

Around line 172:

'=item' outside of any '=over'