class Chrysalis::Router::RoutesManager(RouteAttachmentType)

Overview

Manages routes, adding them, finding the, throwing error if not found.

Defined in:

chrysalis-router/manager.cr

Instance Method Summary

Instance Method Detail

def add_route(path : String, attachment : RouteAttachmentType) #

Adding route and return value to the tree


[View source]
def debug_tree_structure : String #

[View source]
def resolve_path(path : String) : RouteAttachmentType #

[View source]