minion-htmx-0.1.0.0: Minion HTMX support
Safe HaskellSafe-Inferred
LanguageHaskell2010

Web.Minion.Htmx.Headers

Synopsis

Documentation

hxRequest :: (MonadThrow m, Introspection i Header Bool) => ValueCombinator i (WithHeader Required Strict m Bool) ts m Source #

Matches only `HX-Request:true`. Otherwise throws NoMatch that causes trying another route