class Grip::Application

Overview

Grip::Application is a building class which initializes the crucial parts of the web-framework.

Included Modules

Defined in:

grip/application.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(environment : String = "development", serve_static : Bool = false) #

[View source]

Instance Method Detail

def cert_file : String #

[View source]
def directory_listing : Bool #

[View source]
def environment : String #

[View source]
def exception_handler : Grip::Handlers::Exception #

[View source]
def fallthrough : Bool #

[View source]
def host : String #

[View source]
def http_handler : Grip::Routers::Http #

[View source]
def key_file : String #

[View source]
def pipeline_handler : Grip::Handlers::Pipeline #

[View source]
def port : Int32 #

[View source]
def pubilc_dir : String #

[View source]
def reuse_port : Bool #

[View source]
def router : Array(HTTP::Handler) #

[View source]
def router=(router : Array(HTTP::Handler)) #

[View source]
def run #

[View source]
def scopes : Array(String) #

[View source]
def serve_static : Bool #

[View source]
def server : HTTP::Server #

[View source]
def ssl : Bool #

[View source]
def static_handler : Grip::Handlers::Static | Nil #

[View source]
def valve : Symbol | Nil #

[View source]
def valves : Array(Symbol) #

[View source]
def websocket_handler : Grip::Routers::WebSocket #

[View source]