Skip to content

module Athena::Framework::RequestMatcher::Interface #

Represents a strategy that can be used to match an ATH::Request. This interface can be used as a generic way to determine if some logic should be enabled for a given request based on the configured rules.

Direct including types

Athena::Framework::RequestMatcher Athena::Framework::RequestMatcher::Attributes Athena::Framework::RequestMatcher::Hostname Athena::Framework::RequestMatcher::Method Athena::Framework::RequestMatcher::Path

Methods#

abstract #matches?(request : ATH::Request) : Bool#

Decides whether the rule(s) implemented by the strategy matches the provided request.

View source