class Fancyline::Middleware_display(T)

Defined in:

fancyline.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(instance : T) #

[View source]

Instance Method Detail

def add(&block : Handler) : Cute::ConnectionHandle #

Appends a middleware handler


[View source]
def add(handler : Handler) : Cute::ConnectionHandle #

Appends handler


[View source]
def call(ctx : Context, line : String) #

Calls the middleware chain.


[View source]
def list #

Returns the list of middleware.


[View source]