Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- hxRequest :: (MonadThrow m, Introspection i Header Bool) => ValueCombinator i (WithHeader Required Strict m Bool) ts m
- hxTarget :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m
- hxTarget' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m
- hxTrigger :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m
- hxTrigger' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m
- hxTriggerName :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m
- hxTriggerName' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m
- hxCurrentUrl :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m
- hxCurrentUrl' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m
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
hxTarget :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m Source #
hxTarget' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m Source #
hxTrigger :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m Source #
hxTrigger' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m Source #
hxTriggerName :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m Source #
hxTriggerName' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m Source #
hxCurrentUrl :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Optional Strict m Text) ts m Source #
hxCurrentUrl' :: (Introspection i Header Text, MonadThrow m) => ValueCombinator i (WithHeader Required Strict m Text) ts m Source #