class Artanis::Application

Included Modules

Defined in:

application.cr

Constructors

Class Method Summary

Instance Method Summary

Instance methods inherited from module Artanis::Render

json(contents) json

Instance methods inherited from module Artanis::DSL

call : Artanis::Response call

Constructor Detail

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

[View source]

Class Method Detail

def self.call(context) #

[View source]

Instance Method Detail

def body(str) #

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

[View source]
def headers(hsh) #

[View source]
def not_found(&) #

[View source]
def params #

[View source]
def redirect(uri) #

[View source]
def request #

[View source]
def response #

[View source]
def status(code) #

[View source]