class Fancyline::Middleware_autocomplete(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, range : Range(Int32, Int32), word : String) #

Calls the middleware chain.


[View source]
def list #

Returns the list of middleware.


[View source]