Safe Haskell | None |
---|---|
Language | Haskell2010 |
RFC.HTTP.Client
Documentation
class MonadIO m => HasAPIClient m where Source #
Minimal complete definition
Methods
getAPIClient :: m Session Source #
data BadStatusException Source #
apiGet :: (HasAPIClient m, FromJSON a, MonadUnliftIO m, Exception e) => URL -> (e -> m a) -> m a Source #
module Network.Wreq.Session
module Network.URL
module Network.HTTP.Types.Status