class Athena::Framework::View::FormatNegotiator
inherits Athena::Negotiation::Negotiator
#
An extension of ANG::Negotiator that supports resolving the format based on an applications ATH::Bundle::Schema::FormatListener rules.
See the Getting Started docs for more information.
Constructors#
.new(request_store : ATH::RequestStore, mime_types : Hash(String, Array(String)) = Hash(String, Array(String)).new)#
Methods#
#best(header : String, priorities : Indexable(String) | Nil = nil, strict : Bool = false) : HeaderType | Nil#
:inherit: ameba:disable Metrics/CyclomaticComplexity