abstract class Handlebars::Server(T)

Defined in:

handlebars.cr

Constructors

Class Method Summary

Instance Method Summary

Constructor Detail

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

[View source]
def self.new(handlers : Array(Handlebars::Handler(T)), &handler : T -> ) #

[View source]

Class Method Detail

def self.build_middleware(handlers, last_handler : T -> | Nil = nil) #

[View source]

Instance Method Detail

def after_process(context : T) #

[View source]
def before_process(context : T) #

[View source]
def handler : Handlebars::Handler(T) #

[View source]
def handler=(handler : Handlebars::Handler(T)) #

[View source]
def process(context : T) #

[View source]