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