Safe Haskell | Safe-Inferred |
---|---|
Language | Haskell2010 |
Synopsis
- data Collection a = Collection {}
- run :: MonadIO m => HttpConfig -> Req a -> m (Either HttpException a)
- tryReq :: Req a -> Req (Either HttpException a)
- withTLS :: MonadIO m => (HttpConfig -> Manager -> m b) -> m b
Documentation
data Collection a Source #
a collection of items with key value
Instances
run :: MonadIO m => HttpConfig -> Req a -> m (Either HttpException a) Source #
Run a Req
computation
tryReq :: Req a -> Req (Either HttpException a) Source #
Specialized version of try
to HttpException
s
This can be used to catch exceptions of composite Req
statements, e.g. around a do
block