Skip to content

class Athena::Routing::Matcher::TraceableURLMatcher
inherits Athena::Routing::Matcher::URLMatcher #

Extension of ART::Matcher::URLMatcher to assist with debugging by tracing the match.

See #traces.

Constructors#

Methods#

#match(path : String) : Hash(String, String | Nil)#

:inherit:

View source

#traces(path : String) : Array(ART::Matcher::TraceableURLMatcher::Trace)#

Returns an array of ART::Matcher::TraceableURLMatcher::Trace representing the history of the matching logic when trying to match the provided path.

View source

#traces(request : ART::Request) : Array(ART::Matcher::TraceableURLMatcher::Trace)#

Returns an array of ART::Matcher::TraceableURLMatcher::Trace representing the history of the matching logic when trying to match the provided request.

View source