struct Athena::Routing::Config

Overview

Encompasses all configuration related to the Athena::Routing component.

For a higher level introduction to configuring Athena components, see Athena::Config.

Included Modules

Defined in:

config/routing_config.cr

Constructors

Instance Method Summary

Constructor Detail

def self.new(ctx : YAML::ParseContext, node : YAML::Nodes::Node) #

def self.new #

[View source]

Instance Method Detail

def cors : ART::Config::CORS | Nil #

Configuration related to Athena::Routing::Listeners::CORS.

Disables the listener if not defined.


[View source]