Via::Configuration::Validated
Inherits Struct < Value < Object
Constructors
new(listen : ListenAddress, routes : Array(Routing::Route), tls : TLS | Nil = nil, log_file : String | Nil = nil, log_level : Logging::Level | Nil = nil, config_file : String | Nil = nil, debug : Bool = false, websocket_shutdown_timeout : Time::Span = DEFAULT_WEBSOCKET_SHUTDOWN_TIMEOUT)
SourceInstance methods
clone
Sourceconfig_file
copy_with(listen _listen = @listen, routes _routes = @routes, tls _tls = @tls, log_file _log_file = @log_file, log_level _log_level = @log_level, config_file _config_file = @config_file, debug _debug = @debug, websocket_shutdown_timeout _websocket_shutdown_timeout = @websocket_shutdown_timeout)
Sourcedebug
listen
log_file
log_level
routes
tls
websocket_shutdown_timeout