class
Artanis::Application
- Artanis::Application
- Reference
- Object
Included Modules
Defined in:
application.crConstructors
Class Method Summary
Instance Method Summary
- #body(str)
- #context : HTTP::Server::Context
- #headers(hsh)
- #not_found(&)
- #params
- #redirect(uri)
- #request
- #response
- #status(code)
Instance methods inherited from module Artanis::Render
json(contents)
json
Macros inherited from module Artanis::Render
ecr(name, layout = "layout")
ecr,
render(name, engine, layout = "layout")
render,
views_path(path)
views_path
Instance methods inherited from module Artanis::DSL
call : Artanis::Response
call
Macros inherited from module Artanis::DSL
after(path = "*", &block)
after,
before(path = "*", &block)
before,
call_action(method_name)
call_action,
call_method(method)
call_method,
delete(path, &block)
delete,
gen_match(type, method, path, &block)
gen_match,
get(path, &block)
get,
halt(code_or_message = 200)halt(code, message) halt, head(path, &block) head, match(method, path, &block) match, options(path, &block) options, pass pass, patch(path, &block) patch, post(path, &block) post, put(path, &block) put