wreq-0.4.1.0: An easy-to-use HTTP client library.

Safe HaskellNone
LanguageHaskell98

Network.Wreq.Cache

Documentation

shouldCache :: UTCTime -> Req -> Response body -> Maybe (CacheEntry body) Source

validateEntry :: UTCTime -> CacheEntry body -> Maybe (Response body) Source

cacheStore :: Int -> IO (Run body -> Run body) Source