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 :: (Members '[RatelimitEff, TokenEff, LogEff, MetricEff, Embed IO] r, Request a, ReadResponse (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 #