Safe Haskell | None |
---|---|
Language | Haskell2010 |
Generic Request type
Documentation
class Request a where Source #
action :: a -> Url 'Https -> Option 'Https -> Req LbsResponse Source #
modifyResponse :: a -> Value -> Value Source #
Instances
invoke :: (BotC r, Request a, FromJSON (Result a)) => a -> Sem r (Either RestError (Result a)) Source #
postWithP' :: HttpBody a => a -> Option 'Https -> Url 'Https -> Option 'Https -> Req LbsResponse Source #
patchWith' :: HttpBody a => a -> Url 'Https -> Option 'Https -> Req LbsResponse Source #
deleteWith :: Url 'Https -> Option 'Https -> Req LbsResponse Source #