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") #

[View source]

Instance Method Detail

def cert_file : String #

[View source]
def environment : String #

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

[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 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 server : HTTP::Server #

[View source]
def ssl : Bool #

[View source]
def static_handlers : Array(Grip::Handlers::Static) #

[View source]
def valve : Symbol | Nil #

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

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

[View source]