class Camo::Config

Defined in:

camo/config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(key : String) #

[View source]
def self.new(*, from_env : Bool) #

[View source]

Instance Method Detail

def accepted_mime_types : Array(String) #

[View source]
def debug : Bool #

[View source]
def default_accepted_mime_types #

[View source]
def hostname : String #

[View source]
def keep_alive : Bool #

[View source]
def key : String #

[View source]
def length_limit : Int32 #

[View source]
def max_redirects : Int32 #

[View source]
def port : Int32 #

[View source]
def socket_timeout : Time::Span #

[View source]
def timing_allow_origin : String | Nil #

[View source]
def user_agent : String #

[View source]