abstract class Orion::Controller::Base

Defined in:

orion/controller/base.cr

Constructors

Instance Method Summary

Macro Summary

Constructor Detail

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

[View source]

Instance Method Detail

def context : HTTP::Server::Context #

[View source]
def request(*args, **options) #

[View source]
def request(*args, **options, &) #

[View source]
def response(*args, **options) #

[View source]
def response(*args, **options, &) #

[View source]

Macro Detail

macro render(template, *, status = 200, content_type = nil) #

[View source]
macro set_template_path(path) #

[View source]