class Middleware::Builder

Defined in:

middleware/builder.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

def self.new(handlers : Array(Handler)) #

Creates a new builder with the handlers array as handler chain.


[View source]
def self.new(handler : Handler) #

[View source]

Class Method Detail

def self.build_call_chain(handlers) #

[View source]

Instance Method Detail

def call(env = Nil) #

[View source]