Skip to content

struct Athena::Framework::Listeners::Format
inherits Struct #

Attempts to determine the best format for the current request based on its Accept HTTP header and the format priority configuration.

ATH::Request::FORMATS is used to determine the related format from the request's MIME type.

See the negotiation component for more information.

Included modules

Athena::EventDispatcher::EventListenerInterface

Constructors#

Class methods#

.subscribed_events : AED::SubscribedEvents #

View source

Methods#