class Raze::Config

Defined in:

raze/config.cr

Constant Summary

INSTANCE = self.new

Instance Method Summary

Instance Method Detail

def env : String #

[View source]
def env=(env : String) #

[View source]
def error_handlers : Hash(Int32, HTTP::Server::Context, Exception -> String) #

[View source]
def error_handlers=(error_handlers : Hash(Int32, HTTP::Server::Context, Exception -> String)) #

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

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

[View source]
def host : String #

[View source]
def host=(host : String) #

[View source]
def logging : Bool #

[View source]
def logging=(logging : Bool) #

[View source]
def port : Int32 #

[View source]
def port=(port : Int32) #

[View source]
def reuse_port : Bool #

[View source]
def reuse_port=(reuse_port : Bool) #

[View source]