Safe Haskell | Safe-Inferred |
---|---|
Language | GHC2021 |
HTTP caching via MonadState
This module implements HTTP caching for simple use-cases, such as testing Freckle.App.Http.Cache itself.
Documentation
data CachedResponse Source #
CachedResponse | |
|
Instances
Show CachedResponse Source # | |
Defined in Freckle.App.Http.Cache showsPrec :: Int -> CachedResponse -> ShowS # show :: CachedResponse -> String # showList :: [CachedResponse] -> ShowS # |
stateHttpCacheSettings :: (MonadIO m, MonadState s m, HasCache s) => HttpCacheSettings m CachedResponse Source #
stateHttpCache :: (MonadIO m, MonadState s m, HasCache s) => HttpCache m CachedResponse Source #