module Croda::CrodaPlugins::Base::InstanceMethods

Direct including types

Defined in:

croda/plugins/base.cr

Constant Summary

AFTER_HOOK_METHODS = [] of String
COUNTER = [] of Nil
CRODA_PLUGINS = [CrodaPlugins::Base] of Nil

Constructors

Macro Summary

Instance Method Summary

Constructor Detail

def self.new(context : HTTP::Server::Context) #

[View source]

Macro Detail

macro after_hook(int, &block) #

[View source]
macro croda_plugin(instance_methods_class, class_methods_class) #

[View source]
macro plugin(type, **named_args) #

[View source]
macro request_plugin(instance_methods_class, class_methods_class) #

[View source]
macro require_plugin(plugin, requirement) #

[View source]
macro response_plugin(instance_methods_class, class_methods_class) #

[View source]
macro route(&block) #

[View source]

Instance Method Detail

def _execute(&block : Croda::CrodaRequest -> Nil) #

[View source]
def context : HTTP::Server::Context #

[View source]
def request : Croda::CrodaRequest #

[View source]
def response : Croda::CrodaResponse #

[View source]
def run_after_hooks #

[View source]