Calamity.HTTP.Reason
Description
A wrapper request that adds a reson to a request
data Reason a Source #
Constructors
Defined in Calamity.HTTP.Reason
Methods
showsPrec :: Int -> Reason a -> ShowS #
show :: Reason a -> String #
showList :: [Reason a] -> ShowS #
Associated Types
type Result (Reason a) Source #
route :: Reason a -> Route Source #
action :: Reason a -> Url 'Https -> Option 'Https -> Req LbsResponse Source #
modifyResponse :: Reason a -> Value -> Value Source #
(==) :: Reason a -> Reason a -> Bool #
(/=) :: Reason a -> Reason a -> Bool #
reason :: Request a => Text -> a -> Reason a Source #
Attach a reason to a request