struct Marten::Routing::Match

Overview

A route match, corresponding to a specific handler plus the extracted route parameters.

Defined in:

marten/routing/match.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(handler : Marten::Handlers::Base.class, kwargs : Hash(String, Int16 | Int32 | Int64 | Int8 | String | UInt16 | UInt32 | UInt64 | UInt8 | UUID) = {} of String => Parameter::Types) #

[View source]

Instance Method Detail

def handler : Marten::Handlers::Base.class #

[View source]
def kwargs : Hash(String, Int16 | Int32 | Int64 | Int8 | String | UInt16 | UInt32 | UInt64 | UInt8 | UUID) #

[View source]