abstract class
Runcobo::Action
- Runcobo::Action
- Reference
- Object
Included Modules
Extended Modules
Direct Known Subclasses
Defined in:
runcobo/action.crConstant Summary
-
AFTER_FILTERS =
[] of Crystal::Macros::MacroId -
BEFORE_FILTERS =
[] of Crystal::Macros::MacroId -
LAYOUT =
"" -
ROUTES =
[] of Runcobo::Route -
Route table
-
SKIPPED_FILTERS =
[] of Crystal::Macros::MacroId -
TREE =
::Radix::Tree(self.class).new -
Radix Tree for classes inheriated from
BaseAction
Constructors
Macro Summary
Instance Method Summary
- #call
- #context : HTTP::Server::Context
- #context=(context : HTTP::Server::Context)
- #raw_body : String | Nil
- #request : HTTP::Request
- #request=(request : HTTP::Request)
Instance methods inherited from module Runcobo::Validation
max_request_body_size : Int64
max_request_body_size
Instance methods inherited from module Runcobo::Filters
byebye
byebye,
continue
continue
Macros inherited from module Runcobo::Filters
after(method)
after,
before(method)
before,
skip(method)
skip
Instance methods inherited from module Runcobo::Render
render_body(body : String, *, status_code : Int32 = 200, content_type : String | Nil = nil) : HTTP::Server::Context
render_body,
render_empty(*, status_code : Int32 = 200, content_type : String | Nil = nil) : HTTP::Server::Context
render_empty,
render_file(path : String, *, status_code : Int32 = 200, content_type : String | Nil, filename : String | Nil = nil, disposition : String = "attachment") : HTTP::Server::Context
render_file,
render_json(value, *, status_code : Int32 = 200) : HTTP::Server::Context
render_json,
render_plain(text : String, *, status_code : Int32 = 200) : HTTP::Server::Context
render_plain
Macros inherited from module Runcobo::Render
layout(filename)
layout,
render(*, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil, engine = nil)render(template, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil, engine = nil) render, render_jbuilder(filename, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil) render_jbuilder, render_to_string(*, layout = :inherit, dir = nil, layout_dir = nil, engine = nil)
render_to_string(template, *, layout = :inherit, dir = nil, layout_dir = nil, engine = nil) render_to_string, render_water(filename, *, layout = :inherit, status_code = 200, dir = nil, layout_dir = nil) render_water