class Launch::Controller::Base

Included Modules

Direct Known Subclasses

Defined in:

launch/controller/base.cr

Constructors

Instance Method Summary

Instance methods inherited from module Launch::Controller::Helpers::Route

action_name action_name, controller_name controller_name, controller_name_no_underscore controller_name_no_underscore, route_resource route_resource, route_scope route_scope

Instance methods inherited from module Launch::Controller::Helpers::Responders

set_response(body, status_code = 200, content_type = Content::TYPE[:html]) set_response

Instance methods inherited from module Launch::Controller::Helpers::Redirect

redirect_back(**args) redirect_back, redirect_to(controller : Symbol | Class, action : Symbol, **args)
redirect_to(location : String, **args)
redirect_to(action : Symbol, **args)
redirect_to

Instance methods inherited from class Object

blank? blank?, present? present?

Constructor Detail

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

[View source]

Instance Method Detail

def client_ip(*args, **options) #

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

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

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

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

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

[View source]
def filters : Filters #

def filters=(filters : Filters) #

def format(*args, **options) #

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

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

[View source]
def run_after_filter(action) #

[View source]
def run_before_filter(action) #

TODO Find a way to make these protected again.


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

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

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

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

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

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

[View source]