abstract class Runcobo::Action

Included Modules

Extended Modules

Direct Known Subclasses

Defined in:

runcobo/action.cr

Constant Summary

AFTER_PIPES = [] of Crystal::Macros::MacroId
BEFORE_PIPES = [] of Crystal::Macros::MacroId
LAYOUT = ""
ROUTES = [] of Runcobo::Route

Route table

SKIPPED_PIPES = [] of Crystal::Macros::MacroId
TREE = ::Radix::Tree(self.class).new

Radix Tree for classes inheriated from BaseAction

Constructors

Instance Method Summary

Macro Summary

Instance methods inherited from module Runcobo::Pipe

byebye byebye, continue continue

Instance methods inherited from module Runcobo::Render

render_body(body : String, *, status_code : Int32 = 200, content_type : String? = nil) : HTTP::Server::Context render_body, render_file(path : String, *, status_code : Int32 = 200, content_type : String?, filename : String? = nil, disposition : String = "attachment") : HTTP::Server::Context render_file, render_plain(text : String, *, status_code : Int32 = 200) : HTTP::Server::Context render_plain

Instance methods inherited from module Runcobo::Redirector

redirect(url : String, *, status_code : Int32 = 302) redirect

Constructor Detail

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

[View source]

Instance Method Detail

abstract def call #

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

[View source]
def context=(context : HTTP::Server::Context) #

[View source]
def form_params #

[View source]
def json_params #

[View source]
def parse_params #

[View source]
def query_params #

[View source]
def raw_body : String? #

[View source]
def raw_body=(raw_body : String?) #

[View source]
def request : HTTP::Request #

[View source]
def request=(request : HTTP::Request) #

[View source]
def url_params #

[View source]

Macro Detail

macro call(&body) #

[View source]